Learn R Programming

VCA (version 1.3.4)

solveMME: 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

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.

Details

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

Examples

Run this code
# NOT RUN {
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