Learn R Programming

RMixtComp (version 4.0.2)

print.MixtCompLearn: Print Values

Description

Print a MixtCompLearn object

Usage

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

Arguments

x

MixtCompLearn object

nVarMaxToPrint

number of variables to display (including z_class)

nClass

number of classes of the model to print

...

Not used.

See Also

mixtCompLearn mixtCompPredict

Examples

Run this code
# NOT RUN {
data(iris)

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

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


# }

Run the code above in your browser using DataLab