This method visualizes the assignment of data points to the mixture components of the given mixture model. The components are plotted on the y-axis and the data on the x-axis. Data points are plotted in the color of the respective mixture component.
An object of
Depending on the type of the mixture model (ML, Bayes), different approaches to obtain a classification are available. Also the default approach may vary.
Further arguments passed to
method is given, it must be a valid option for method
classification. E.g., if
used to create the mixture model, valid options are "maxDens",
"median" and "mode".
Arguments "col" and "pch" can be given to specify the color and the shape of the points plotted. Their length must equal to the number of components.
Hans-Ulrich Klein ([email protected])
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.