Description Usage Arguments Details Author(s) References See Also Examples
View source: R/densityMclust.R
Diagnostic plots for density estimation. Only available for the onedimensional case.
1 2 3 4 5 
object 
An object of class 
type 
The type of graph requested:

col 
A pair of values for the color to be used for plotting, respectively, the estimated CDF and the empirical cdf. 
lwd 
A pair of values for the line width to be used for plotting, respectively, the estimated CDF and the empirical cdf. 
lty 
A pair of values for the line type to be used for plotting, respectively, the estimated CDF and the empirical cdf. 
legend 
A logical indicating if a legend must be added to the plot of fitted CDF vs the empirical CDF. 
grid 
A logical indicating if a 
... 
Additional arguments. 
The two diagnostic plots for density estimation in the onedimensional case are discussed in Loader (1999, pp 8790).
Luca Scrucca
Loader C. (1999), Local Regression and Likelihood. New York, Springer.
C. Fraley, A. E. Raftery, T. B. Murphy and L. Scrucca (2012). mclust Version 4 for R: Normal Mixture Modeling for ModelBased Clustering, Classification, and Density Estimation. Technical Report No. 597, Department of Statistics, University of Washington.
densityMclust
,
plot.densityMclust
.
1 2 3 4 5 6 7 8 9  ## Not run:
x < faithful$waiting
dens < densityMclust(x)
plot(dens, x, what = "diagnostic")
# or
densityMclust.diagnostic(dens, type = "cdf")
densityMclust.diagnostic(dens, type = "qq")
## End(Not run)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.