Learn R Programming

MNM (version 0.95-0)

plotMvloc: Function to Plot Multivariate Location Estimates and Their Confidence Ellipsoids.

Description

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

Usage

plotMvloc(est1, est2 = NULL, est3 = NULL, X = NULL, alim = NULL, 
          color.ell = 2:4, color.points = grey(0.5), 
          lty.ell = rep(1, 3), pch.ell = rep(16, 3), pch.points = 1, 
          level = 0.95, npoints = 100, x.legend, y.legend, 
          cex.legend = 1, pty = "s", gap = 1, oma.bottom, 
          labels, cex.labels = 2, main, ...)

Arguments

Value

  • A scatterplot matrix.

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.

See Also

ellipse, plotShape

Examples

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

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

Run the code above in your browser using DataLab