autoplot.mcaps | R Documentation |
This is an S3 method implementation of the ggplot2::autoplot()
generic
for objects of class mcaps
to visualize the performances of multiple
caps
objects applied on the same data sets either in terms of WSS or in
terms of silhouette values.
## S3 method for class 'mcaps'
autoplot(
object,
validation_criterion = c("wss", "silhouette"),
what = c("mean", "distribution"),
...
)
object |
An object of class |
validation_criterion |
A string specifying the validation criterion to
be used for the comparison. Choices are |
what |
A string specifying the kind of information to display about the
validation criterion. Choices are |
... |
Other arguments passed to specific methods. |
An object of class ggplot2::ggplot
.
p <- ggplot2::autoplot(sim30_mcaps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.