Learn R Programming

CUB (version 1.1.5)

fitted.GEM: S3 method "fitted" for class "GEM"

Description

S3 method fitted for objects of class GEM.

Usage

# S3 method for GEM
fitted(object, ...)

Arguments

object

An object of class GEM

...

Other arguments

Details

Returns the fitted probability distribution for GEM models with no covariates. If only one dichotomous covariate is included in the model to explain some components, it returns the fitted probability distribution for each profile.

See Also

GEM

Examples

Run this code
fitcub<-GEM(Formula(global~0|freqserv|0),family="cub",data=univer)
fitted(fitcub,digits=4)

Run the code above in your browser using DataLab