getModel-modelmoments-method: Getter method of 'modelmoments' class.

Description Usage Arguments Value See Also Examples

Description

Returns the model slot of a modelmoments object.

Usage

1
2
## S4 method for signature 'modelmoments'
getModel(object)

Arguments

object

A modelmoments object.

Value

The model slot of the object.

See Also

modelmoments for all slots of the modelmoments class

Examples

1
2
3
4
f_model <- model("poisson", par=list(lambda=c(0.3, 0.1)), 
                 weight=matrix(c(0.3, 0.7), nrow=1))
f_moments <- modelmoments(f_model)
getModel(f_moments)

simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.