plot.densityMclust {mclust} | R Documentation |
Plot method for univariate data
associated with the densityMclust
function.
## S3 method for class 'densityMclust' plot(x, data = NULL, ...)
x |
Output from |
data |
Optional data points to be highlighted on the density curve. |
... |
Graphics parameters for the |
For more flexibility in plotting, use mclust1Dplot
,
A density curve using the mixture model and range information from
input x
. If data
is supplied, the positions of the
corresponding data points will be shown on the horizontal axis.
C. Fraley and A. E. Raftery (2002). Model-based clustering, discriminant analysis, and density estimation. Journal of the American Statistical Association 97:611-631.
C. Fraley and A. E. Raftery (2006, revised 2010). MCLUST Version 3 for R: Normal Mixture Modeling and Model-Based Clustering, Technical Report no. 504, Department of Statistics, University of Washington.
## Not run: plot(densityMclust(rivers)) plot(densityMclust(rivers), data = rivers, xlim = c(0,1500)) ## End(Not run)