Learn R Programming

netresponse (version 1.32.2)

PlotMixtureMultivariate.deprecated: PlotMixtureMultivariate.deprecated

Description

Visualize data, centroids and response confidence intervals for a given Gaussian mixture model with PCA. Optionally, color the samples according to annotations labels.

Usage

PlotMixtureMultivariate.deprecated(x, means, sds, ws, labels = NULL,
  confidence = 0.95, ...)

Arguments

x
data matrix (samples x features)
means
mode centroids (modes x features)
sds
mode standard deviations, assuming diagonal covariance matrices (modes x features, each row giving the sqrt of covariance diagonal for the corresponding mode)
ws
weight for each mode
labels
Optional: sample class labels to be indicated in colors.
confidence
Confidence interval for the responses based on the covariances of each response. If NULL, no plotting.
...
Further arguments for plot function.

Value

  • Used for its side-effects.

References

See citation("netresponse") for citation details.

Examples

Run this code
#plotMixture(dat, means, sds, ws)

Run the code above in your browser using DataLab