solveMME: Solve Mixed Model Equations

View source: R/vca.R

solveMMER Documentation

Solve Mixed Model Equations

Description

Function solves the Mixed Model Equations (MME) to estimate fixed and random effects.

Usage

solveMME(obj)

Arguments

obj

... (VCA) object

Details

This function is for internal use only, thus, not exported.

Value

(VCA) object, which has additional elements "RandomEffects" corresponding to the column vector of estimated random effects, "FixedEffects" being the column vector of estimated fixed effects. Element "Matrices" has additional elements referring to the elements of the MMEs and element "VarFixed" corresponds to the variance-covariance matrix of fixed effects.

Author(s)

Andre Schuetzenmeister andre.schuetzenmeister@roche.com

Examples

## Not run: 
data(dataEP05A2_1)
fit <- anovaVCA(y~day/run, dataEP05A2_1, NegVC=TRUE)
fit <- solveMME(fit)
ranef(fit)

## End(Not run)

VCA documentation built on May 29, 2024, 1:48 a.m.