Learn R Programming

MixAll (version 1.5.10)

plot,ClusterDiagGaussian-method: Plotting of a class [ClusterDiagGaussian]

Description

Plotting data from a [ClusterDiagGaussian] object using the estimated parameters and partition.

Usage

# S4 method for ClusterDiagGaussian
plot(x, y, ...)

Arguments

x

an object of class [ClusterDiagGaussian]

y

a list of variables to plot (subset). Variables names or indices. If missing all the variables are represented.

...

further arguments passed to or from other methods

See Also

Examples

Run this code
  ## the famous iris data set
if (FALSE) {
  data(iris)
  model <- clusterDiagGaussian(iris[1:4], 3, strategy = clusterFastStrategy())
  plot(model)
  plot(model, c(1,3))
  plot(model, c("Sepal.Length","Sepal.Width"))
  }

Run the code above in your browser using DataLab