mixdist (version 0.5-5)

print.mix: 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 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

Run this code
# NOT RUN {
data(pike65)
data(pikepar)
fit <- mix(pike65, pikepar, "gamma", mixconstr(consigma = "CCV"), emsteps = 3)
fit
print(fit)
print.mix(fit)
print.default(fit)
# }

Run the code above in your browser using DataLab