Learn R Programming

VCA (version 1.5.1)

solveMME: Solve Mixed Model Equations

Description

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

Usage

solveMME(obj)

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.

Arguments

obj

... (VCA) object

Author

Andre Schuetzenmeister andre.schuetzenmeister@roche.com

Details

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

Examples

Run this code
if (FALSE) {
data(dataEP05A2_1)
fit <- anovaVCA(y~day/run, dataEP05A2_1, NegVC=TRUE)
fit <- solveMME(fit)
ranef(fit)
}

Run the code above in your browser using DataLab