mv.shape.est: Shape Matrices

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/mvshapeest.R

Description

Shape matrix estimates using different score functions.

Usage

1
2
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

1
2
3
4
5
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 2, 2019, 5:09 a.m.