getW-studmultmodelmoments-method: Getter method of 'studmultmodelmoments' class.

Description Usage Arguments Value See Also Examples

Description

Returns the W slot.

Usage

1
2
## S4 method for signature 'studmultmodelmoments'
getW(object)

Arguments

object

An studmultmodelmoments object.

Value

The W slot of the object.

See Also

Examples

1
2
3
4
5
6
7
f_model         <- model("studmult", weight = matrix(c(.3, .7), nrow = 1))
means           <- matrix(c(-2, -2, 2, 2),nrow = 2)
covar           <- matrix(c(1, 1.2, 1.2, 4), nrow = 2)
sigmas          <- array(c(covar, 2*covar), dim = c(2, 2, 2))
setPar(f_model) <- list(mu = means, sigma = sigmas, df = c(10, 20))
f_moments       <- modelmoments(f_model)
getW(f_moments)

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