Learn R Programming

MixAll (version 1.5.10)

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

Description

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

Usage

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

Arguments

x

an object of class [ClusterPoisson]

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(DebTrivedi)
  dt <- DebTrivedi[, c(1, 6,8, 15)]
  model <- clusterPoisson(iris[1:4], 3, strategy = clusterFastStrategy())
  plot(model)
  plot(model, c(1,2))
  }

Run the code above in your browser using DataLab