Learn R Programming

RMixtComp (version 4.1.4)

print.MixtCompLearn: Print Values

Description

Print a MixtCompLearn object

Usage

# S3 method for MixtCompLearn
print(x, nVarMaxToPrint = 5, nClass = NULL, ...)

Value

No return value, called for side effects

Arguments

x

MixtCompLearn object

nVarMaxToPrint

number of variables to display (including z_class)

nClass

number of classes of the model to print

...

Not used.

Author

Quentin Grimonprez

See Also

mixtCompLearn mixtCompPredict

Examples

Run this code
data(iris)

# run RMixtComp in unsupervised clustering mode and in basic mode
resLearn <- mixtCompLearn(iris[, -5], nClass = 2:4, nCore = 1)

print(resLearn)
print(resLearn, nClass = 3)

Run the code above in your browser using DataLab