| plot.MclustBootstrap {mclust} | R Documentation |
Plots the bootstrap distribution of parameters as returned by the MclustBootstrap function.
## S3 method for class 'MclustBootstrap'
plot(x, what = c("pro", "mean", "var"),
hist.col = "grey", hist.border = "lightgrey", breaks = "Sturges",
col = "forestgreen", lwd = 2, lty = 3,
xlab = NULL, xlim = NULL, ylim = NULL, ...)
x |
Object returned by |
what |
Character string specifying if mixing proportions ( |
hist.col |
The color to be used to fill the bars of the histograms. |
hist.border |
The color of the border around the bars of the histograms. |
breaks |
See the argument in function |
col, lwd, lty |
The color, line width and line type to be used to represent the estimated parameters. |
xlab |
Optional label for the horizontal axis. |
xlim, ylim |
A two-values vector of axis range for, respectively, horizontal and vertical axis. |
... |
Other graphics parameters. |
A plot for each variable/component of the selected parameters.
data(diabetes) X = diabetes[,-1] modClust = Mclust(X, G = 3, modelNames = "VVV") bootClust = MclustBootstrap(modClust, nboot = 99) par(mfrow = c(1,3), mar = c(4,2,2,0.5)) plot(bootClust, what = "pro") par(mfrow = c(3,3), mar = c(4,2,2,0.5)) plot(bootClust, what = "mean")