mixproj(mclust) | R Documentation |
mixproj(data, ms, partition, scale = F, newframe = T, k = 15, ...)
data |
a matrix of onservations. |
ms |
The result of an mstep calculation (a list consisting of mu and sigma
or sigmasq ).
|
partition |
A integer vector giving an initail classification for each observation. |
dimens |
A vector of length two giving the two variables of the data to be plotted. |
scale |
A logical variable telling whether or not the same scale should be used for both variables so as to preserve geometry. The default does not use the same scale. |
newframe |
A logical variable indicating whether or not frame should be invoked before
plotting. The default is to invoke frame .
|
k |
Number of subdivisions for plotting segments of ellipsoids. Default: 8. |
... |
use for the argument symbols indicating the desired symbols to be plotted
(in the order that they appear in the classification).
|
Displays one standard deviation of an MVN mxiture classification along with data in for selected pairs of coordinates.
data(iris) cl <- mhclass(mhtree(iris[,1:4], modelid = "VVV"),3) z <- me( iris[,1:4], modelid = "VVV", ctoz(cl)) pars <- mstep(iris[,1:4], modelid="VVV", z) mixproj(iris[,1:4], ms=pars, partition=ztoc(z), dimens=c(1,2))