Learn R Programming

MNM (version 1.0-4)

mv.shape.est: Shape Matrices

Description

Shape matrix estimates using different score functions.

Usage

mv.shape.est(X, score = "identity", estimate = "outer", 
             location = NULL, na.action = na.fail, ...)

Value

a matrix

Arguments

X

a numeric data frame or matrix.

score

score to be used. Can be either "identity", "sign", "symmsign" or "rank".

estimate

can be "outer" or "inner".

location

If NULL the location vector is estimated. Alternatively a numeric p vector of location.

na.action

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.

Author

Klaus Nordhausen

Details

This functions returns different shape matrices depending on the score function chosen. For details see chapter 9 of the MNM book.

References

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.

See Also

cov, tyler.shape, duembgen.shape, HR.Mest, spatial.shape

Examples

Run this code
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