Description Usage Arguments Value See Also Examples
Returns the W
slot.
1 2 | ## S4 method for signature 'studmultmodelmoments'
getW(object)
|
object |
An |
The W
slot of the object
.
modelmoments for the base class for model moments
modelmoments()
for the constructor of the modelmoments
class family
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.