Learn R Programming

MixAll (version 1.4.2)

plot,KmmMixedDataModel-method: Plotting of a class ['>KmmMixedDataModel]

Description

Plotting data from a ['>KmmMixedDataModel] object using the estimated parameters and partition.

Usage

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

Arguments

x

an object of class ['>KmmMixedDataModel]

y

a vector listing the data sets you want to disply

...

further arguments passed to or from other methods

See Also

plot

Examples

Run this code
# NOT RUN {
data(bullsEye)
data(bullsEye.cat)
## with default values
ldata  = list(bullsEye, bullsEye.cat)
modelcont <- list(modelName="kmm_pk_s", dim = 10, kernelName="Gaussian")
modelcat  <- list(modelName="kmm_pk_s", dim = 20, kernelName="Hamming", kernelParameters = c(0.6))
lmodels = list( modelcont, modelcat)

model <- kmmMixedData(ldata, lmodels, nbCluster=2:5, strategy = clusterFastStrategy())
# plot only the first continuous data set
plot(model, y=c(1))
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab