plot.mvloc {MNM}R Documentation

Plotting Method for mvloc Objects

Description

Visually presents and compares different multivariate location estimates and their confidence ellipsoids.

Usage

## S3 method for class 'mvloc'
plot(x, est2 = NULL, est3 = NULL, X = NULL, ...)

Arguments

x

an object of class mvl1lm.

est2

An optional additional location estimate. A list with the components location, vcov and est.name, for example an object of class 'mvloc'.

est3

An optional additional location estimate. A list with the components location, vcov and est.name, for example an object of class 'mvloc'.

X

a numeric data frame or matrix. Optional data points on which the estimates could have been based.

...

optional plotting arguments. For details see plotMvloc .

Details

The figure can be used to compare different multivariate location estimates. The location of the legend is currently problematic and it is recommended that the user should provide the coordinates for the legend. The function calls plotMvloc.

Author(s)

Klaus Nordhausen

See Also

plotMvloc

Examples

X <- rmvt(50, diag(c(1, 2)), 3)

est1 <- mv.1sample.est(X)
est2 <- mv.1sample.est(X, "sign")
est3 <- mv.1sample.est(X, "rank", "inner")

plot(est1)
plot(est1, est2, est3, X, alim="b", lty.ell=1:3, pch.ell=14:16)
plot(est1, est2, est3, X, alim="e")

[Package MNM version 1.0-4 Index]