plot.ContaminatedMixt {ContaminatedMixt} | R Documentation |
Scatterplot, with optionally superimposed contours, for objects of class ContaminatedMixt
.
## S3 method for class 'ContaminatedMixt' plot(x, criterion = "BIC", contours = FALSE, xmarg = 1, ymarg = 2, res = 200, levels = seq(.0001,1,by=0.01), ...)
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 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 |
Antonio Punzo, Angelo Mazza, Paul D. McNicholas