plot.mvloc | R Documentation |
Visually presents and compares different multivariate location estimates and their confidence ellipsoids.
## S3 method for class 'mvloc'
plot(x, est2 = NULL, est3 = NULL, X = NULL, ...)
x |
an object of class |
est2 |
An optional additional location estimate. A list with the components |
est3 |
An optional additional location estimate. A list with the components |
X |
a numeric data frame or matrix. Optional data points on which the estimates could have been based. |
... |
optional plotting arguments. For details see |
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
.
Klaus Nordhausen
plotMvloc
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.