powered by
Shape matrix estimates using different score functions.
mv.shape.est(X, score = "identity", estimate = "outer", location = NULL, na.action = na.fail, ...)
a matrix
a numeric data frame or matrix.
score to be used. Can be either "identity", "sign", "symmsign" or "rank".
"identity"
"sign"
"symmsign"
"rank"
can be "outer" or "inner".
"outer"
"inner"
If NULL the location vector is estimated. Alternatively a numeric p vector of location.
a function which indicates what should happen when the data contain 'NA's. Default is to fail.
further arguments passed to or from other methods.
Klaus Nordhausen
This functions returns different shape matrices depending on the score function chosen. For details see chapter 9 of the MNM book.
Oja, H. (2010), Multivariate Nonparametric Methods with R, Springer.
Nordhausen, K. and Oja, H. (2011), Multivariate L1 Methods: The Package MNM, Journal of Statistical Software, 43, 1-28.
cov, tyler.shape, duembgen.shape, HR.Mest, spatial.shape
cov
tyler.shape
duembgen.shape
HR.Mest
spatial.shape
data(iris) IRIS <- iris[,1:4] mv.shape.est(IRIS, "sign") mv.shape.est(IRIS, "symmsign", "o") mv.shape.est(IRIS, "rank")
Run the code above in your browser using DataLab