print.mix: Print Mix Object

Description Usage Arguments Details See Also Examples

View source: R/print.mix.R

Description

print.mix is a function which prints objects of class "mix" and returns it invisibly. It is called via the generic function print.

Usage

1
2
## S3 method for class 'mix'
print(x, digits = 4, ...)

Arguments

x

an object of class "mix", usually, the results returned by the model fitting function mix.

digits

how many significant digits are to be used.

...

further arguments passed to or from other methods.

Details

This function only prints information about the mixture model, which are the estimated parameters of the mixture, the distribution of components and the constraints on the parameters. Also, the values for the parameters are rounded to the specified number of decimal places (default 4). The whole object can be printed out using the function print.default.

See Also

mix for model fitting. print.default for printing the whole object.

Examples

1
2
3
4
5
6
7
data(pike65)
data(pikepar)
fit <- mix(pike65, pikepar, "gamma", mixconstr(consigma = "CCV"), emsteps = 3)
fit
print(fit)
print.mix(fit)
print.default(fit)

mixdist documentation built on May 2, 2019, 3:34 p.m.

Related to print.mix in mixdist...