print.mix {mixdist}R Documentation

Print Mix Object

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

## 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

data(pike65)
data(pikepar)
fit <- mix(pike65, pikepar, "gamma", mixconstr(consigma = "CCV"), emsteps = 3)
fit
print(fit)
print.mix(fit)
print.default(fit)

[Package mixdist version 0.5-5 Index]