View source: R/PlotMixtureUnivariate.R
PlotMixtureUnivariate | R Documentation |
Visualize data, centroids and stds for a given univariate Gaussian mixture model with PCA.
PlotMixtureUnivariate(
x,
means = NULL,
sds = NULL,
ws = NULL,
title.text = NULL,
xlab.text = NULL,
ylab.text = NULL,
binwidth = 0.05,
qofz = NULL,
density.color = "darkgray",
cluster.assignments = NULL,
...
)
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.
# plotMixtureUnivariate(dat, means, sds, ws)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.