Learn R Programming

VCA (version 1.2.1)

solveMME: Solve Mixed Model Equations.

Description

Function solves the Mixed Model Equations (MMEs) to estimate fixed and random effects. It is for internal use only, thus, not exported.

Usage

solveMME(obj)

Arguments

obj
... (VCA) object

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.

Examples

Run this code
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