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 |
criterion |
a string with the information criterion to consider; supported values are: |
contours |
if |
xmarg |
scalar argument giving the position of the variable to be used on the |
ymarg |
scalar argument giving the position of the variable to be used on the |
res |
scalar argument giving the resolution for the calculation grid required for the contour plot.
Default is 200, which results in a |
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 |
Author(s)
Antonio Punzo, Angelo Mazza, Paul D. McNicholas