Learn R Programming

bimixt (version 1.0)

prop: prop

Description

An accessor function. Retrieves the case component proportions and control component proportions of a model object.

Usage

prop(model)

Arguments

model
an object of type model from bimixt.model

Value

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

See Also

lambda mn stdev 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")
prop(model)

Run the code above in your browser using DataLab