Description Usage Arguments Value Author(s) References Examples
View source: R/PlotMixtureUnivariate.R
Visualize data, centroids and stds for a given univariate Gaussian mixture model with PCA.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
data vector |
means |
mode centroids |
sds |
mode standard deviations |
ws |
weight for each mode |
title.text |
Plot title |
xlab.text |
xlab.text |
ylab.text |
ylab.text |
binwidth |
binwidth for histogram |
qofz |
Mode assignment probabilities for each sample. Samples x modes. |
density.color |
Color for density lines |
cluster.assignments |
Vector of cluster indices, indicating cluster for each data point |
... |
Further arguments for plot function. |
Used for its side-effects
Leo Lahti leo.lahti@iki.fi
See citation('netresponse') for citation details.
1 | # plotMixtureUnivariate(dat, means, sds, ws)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.