Learn R Programming

MixAll (version 1.5.10)

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

Description

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

Usage

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

Arguments

x

an object of class [ClusterGamma]

y

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

...

further arguments passed to or from other methods

See Also

Examples

Run this code
  ## for quantitative case
if (FALSE) {
  data(iris)
  model <- clusterGamma( data=iris[1:4], nbCluster=3
                       , models=clusterGammaNames(prop = "equal")
                       , 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