Scatterplot, with optionally superimposed contours, for objects of class ContaminatedMixt.
# S3 method for ContaminatedMixt
plot(x, criterion = "BIC", contours = FALSE, xmarg = 1, ymarg = 2,
res = 200, levels = seq(.0001,1,by=0.01), ...)
an object of class ContaminatedMixt
a string with the information criterion to consider; supported values are: "AIC", "AICc", "AICu", "AIC3", "AWE", "BIC", "CAIC", "ICL".
Default value is "BIC".
if TRUE, the contours of the mixture density are superimposed on the plot.
Default is FALSE.
scalar argument giving the position of the variable to be used on the \(x\)-axis.
scalar argument giving the position of the variable to be used on the \(y\)-axis.
scalar argument giving the resolution for the calculation grid required for the contour plot. Default is 200, which results in a \(200 \times 200\) grid.
Numeric vector giving the levels at which contours should be drawn. Default is to draw a contour in 0.01 steps, starting from the contour of height .0001. This may result in more/less contours than desired depending on the resulting density.
Options to be passed to plot.
Antonio Punzo, Angelo Mazza, Paul D. McNicholas
CNmixt