Description Usage Arguments Examples
Function for visualizing the clustering results
1 2 |
res |
object return by function clusvis or clusvis |
dim |
numeric. This vector of size two choose the axes to represent. |
threshold |
numeric. It contains the thersholds used for computing the level curves. |
add.obs |
boolean. If TRUE, coordinnates of the observations are plotted. |
positionlegend |
character. It specifies the legend location. |
xlim |
numeric. It specifies the range of x-axis. |
ylim |
numeric. It specifies the range of y-axis. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
# Package loading
require(Rmixmod)
# Data loading (categorical data)
data(birds)
# Model-based clustering with 3 components
resmixmod <- mixmodCluster(birds, 3)
# Inference of the parameters used for results visualization
# (specific for Rmixmod results)
resvisu <- clusvisMixmod(resmixmod)
# Component interpretation graph
plotDensityClusVisu(resvisu)
# Scatter-plot of the observation memberships
plotDensityClusVisu(resvisu, add.obs = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.