print.mixfitEM: Print Method for Class 'mixfitEM'

Description Usage Arguments Details See Also Examples

View source: R/print.mixfitEM.R

Description

This function is the print method for the mixfitEM class.

Usage

1
2
## S3 method for class 'mixfitEM'
print(x, digits = getOption("digits"), ...)

Arguments

x

an object of class mixfitEM

digits

the digits to print for the values in the print output. The default value is from the global option getOption("digits").

...

other arguments passed to print

Details

print.mixfitEM prints the value of the parameters of a fitted mixture model, together with some other information like the number of iterations of the EM algorithm, the loglikelihood, the value of AIC and BIC.

See Also

mixfit

Examples

1
2
3
x <- rmixnormal(200, c(0.5, 0.5), c(2, 5), c(1, 0.7))
fit <- mixfit(x, ncomp = 2)
print(x)

mixR documentation built on June 1, 2021, 5:07 p.m.