print.mixfitEM {mixR} | R Documentation |
Print Method for Class mixfitEM
Description
This function is the print method for the mixfitEM
class.
Usage
## S3 method for class 'mixfitEM'
print(x, digits = getOption("digits"), ...)
Arguments
x |
an object of class |
digits |
the digits to print for the values in the print output. The default
value is from the global option |
... |
other arguments passed to |
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
Examples
x <- rmixnormal(200, c(0.5, 0.5), c(2, 5), c(1, 0.7))
fit <- mixfit(x, ncomp = 2)
print(x)
[Package mixR version 0.2.0 Index]