print.MixtureMissing {MixtureMissing}R Documentation

Print for MixtureMissing

Description

Print MixtureMissing object.

Usage

## S3 method for class 'MixtureMissing'
print(x, ...)

Arguments

x

A MixtureMissing object or an output of select_mixture. In the latter, only the best model will be considered.

...

Further arguments passed to or from other methods.

Details

The description includes information on the complete or incomplete data, number of clusters, and component distribution.

Value

No return value, called to print the fitted model's description.

Examples


#++++ With no missing values ++++#

X <- iris[, 1:4]
mod <- MGHM(X, G = 2, model = 'GH', max_iter = 10)
print(mod)

#++++ With missing values ++++#

set.seed(123)
X <- hide_values(iris[, 1:4], n_cases = 20)
mod <- MGHM(X, G = 2, model = 'GH', max_iter = 10)
print(mod)


[Package MixtureMissing version 3.0.2 Index]