Learn R Programming

bimixt (version 1.0)

mn: mn

Description

An accessor function. Retrieves the component means of a model object.

Usage

mn(model, transformed = F)

Arguments

model
an object of type model from bimixt.model
transformed
A Boolean indicating whether to return the mean values on the transformed scale (TRUE) or the original scale (FALSE default). The transformed means are estimates of the Gaussian component means. The original scale means are Monte Carlo estimates of the mean of the distribution of the inverse Box-Cox function applied to the estimated Gaussian component distribution.

Value

cases
A vector (or scalar) of numeric values for the mean of each case component in the model.
controls
A vector (or scalar) of numeric values for the mean of each control component in the model.

See Also

lambda stdev prop maxll type

Examples

Run this code
case=rmix(50,10,1.2,15,1,.7) 
control=rmix(50,10,1.2,15,1,.95)
model=bimixt.model(case=case,control=control, type="4c")
mn(model)

Run the code above in your browser using DataLab