plot.oclust {oclust} | R Documentation |
Plots results of the ‘oclust’ algorithm.
Description
Plots results of the ‘oclust’ algorithm.
Usage
## S3 method for class 'oclust'
plot(
x,
what = c("classification", "KL", "pval"),
dimens = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
addEllipses = TRUE,
...
)
Arguments
x |
An ‘oclust’ class object obtained by using |
what |
A string specifying the type of graph. The options are: "classification" a plot of the classifications for the optimal solution. For data with p>2, if more than two "dimens" are specified, a pairs plot is produced. If two "dimens" are specified, a coordinate projection plot is produced with the specified "dimens". Ellipses corresponding to covariances of mixture components are also drawn if "addEllipses = TRUE". "KL" a plot of Kullback-Leibler divergence for each number of outliers. "pval" a plot of approximate p-value for each number of outliers. |
dimens |
a vector specifying the dimensions of the coordinate projections |
xlab , ylab |
optional argument specifying axis labels for the classsification plot |
ylim |
optional limits of the y axis of the BIC and KL plots |
addEllipses |
logical indicating whether to include ellipses corresponding to the covariances of the mixture components |
... |
other graphical parameters |