mv.shape.est: Shape Matrices

View source: R/mvshapeest.R

mv.shape.estR Documentation

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, ...)

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.

Details

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

Value

a matrix

Author(s)

Klaus Nordhausen

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

data(iris)
IRIS <- iris[,1:4]
mv.shape.est(IRIS, "sign")
mv.shape.est(IRIS, "symmsign", "o")
mv.shape.est(IRIS, "rank")

MNM documentation built on May 29, 2024, 8:49 a.m.