Learn R Programming

VCA (version 1.1.1)

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

solveMM(obj)

Arguments

obj
... (VCA) object

Value

  • (VCA) object, which has additional attributes 'ranef' corresponding to the column vector of estimated random effects, "fixef" being the column vector of estimated fixed effects. Attribute "Matrices" has additional elements referring to the elements of the MMEs.

Examples

Run this code
data(dataEP05A2_1)
fit <- anovaVCA(y~day/run, dataEP05A2_1, NegVC=TRUE)
fit <- VCA:::solveMM(fit)
ranef(fit)

Run the code above in your browser using DataLab