plot.ContaminatedMixt {ContaminatedMixt}R Documentation

Scatterplot for ContaminatedMixt Objects

Description

Scatterplot, with optionally superimposed contours, for objects of class ContaminatedMixt.

Usage

## S3 method for class 'ContaminatedMixt'
plot(x, criterion = "BIC", contours = FALSE, xmarg = 1, ymarg = 2,  
                     res = 200, levels = seq(.0001,1,by=0.01), ...) 

Arguments

x

an object of class ContaminatedMixt

criterion

a string with the information criterion to consider; supported values are: "AIC", "AICc", "AICu", "AIC3", "AWE", "BIC", "CAIC", "ICL". Default value is "BIC".

contours

if TRUE, the contours of the mixture density are superimposed on the plot. Default is FALSE.

xmarg

scalar argument giving the position of the variable to be used on the x-axis.

ymarg

scalar argument giving the position of the variable to be used on the y-axis.

res

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.

levels

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.

Author(s)

Antonio Punzo, Angelo Mazza, Paul D. McNicholas

See Also

CNmixt


[Package ContaminatedMixt version 1.3.8 Index]