The location of interest. A list with the components location, vcov and est.name, for example an object of class 'mvloc'.
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.
alim
can be NULL, both or ellipses. Specifies whether the plotting regions are are based on the confidence ellipsoids only or also the range of the data points.
If NULL it chooses both if X is provided and otherwise ellipses.
color.ell
vector of length 3 that gives the colors for the corresponding estimates 'est1', 'est2' and 'est3'.
color.points
the color of the data points.
lty.ell
line types of the confidence ellipsoids.
pch.ell
plotting symbols for the location estimates, the centers of the confidence ellipsoids.
lwd.ell
line width values of the confidence ellipsoids.
cex.ell
cex values for the location estimates, the centers of the confidence ellipsoids.
pch.points
plotting symbol for the data points X.
level
the level of the confidence ellipsoids.
npoints
the number of points used to approximate each ellipsoid.
x.legend
vertical position of the legend. By default tries to find for 2 to 4 dimensional data a good location. If NULL no legend is drawn.
y.legend
horicontal position of the legend. By default tries to find for 2 to 4 dimensional data a good location. If NULL no legend is drawn.
cex.legend
cex for the legend.
pty
pty value for the individual plots of the scatter matrix. Default is "s".
gap
distance between subplots, in margin lines.
oma.bottom
oma value of the bottom.
labels
optional labels for the diagonals.
cex.labels
cex for the labels. Default is 2.
main
optional title of the plot.
...
further arguments passed to or from other methods.
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.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(MNM)
Loading required package: ICSNP
Loading required package: mvtnorm
Loading required package: ICS
Loading required package: SpatialNP
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MNM/plotMvloc.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plotMvloc
> ### Title: Function to Plot Multivariate Location Estimates and Their
> ### Confidence Ellipsoids.
> ### Aliases: plotMvloc
> ### Keywords: hplot
>
> ### ** 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")
>
> plotMvloc(est1)
> plotMvloc(est1, est2, est3, X, alim="b", lty.ell=1:3, pch.ell=14:16)
> plotMvloc(est1, est2, est3, X, alim="e")
>
>
>
>
>
> dev.off()
null device
1
>