plot,KmmMixedDataModel-method | R Documentation |
KmmMixedDataModel
]Plotting data from a [KmmMixedDataModel
] object
using the estimated parameters and partition.
## S4 method for signature 'KmmMixedDataModel'
plot(x, y, ...)
x |
an object of class [ |
y |
a vector listing the data sets you want to disply |
... |
further arguments passed to or from other methods |
plot
## The bullsEye data set
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.