Learn R Programming

LMMsolver (version 1.0.10)

displayMME: Display the sparseness of the mixed model coefficient matrix

Description

Display the sparseness of the mixed model coefficient matrix

Usage

displayMME(object, cholesky = FALSE)

Value

A plot of the sparseness of the mixed model coefficient matrix.

Arguments

object

an object of class LMMsolve.

cholesky

Should the cholesky decomposition of the coefficient matrix be plotted?

Examples

Run this code
## Fit model on john.alpha data from agridat package.
data(john.alpha, package = "agridat")

## Fit simple model with only fixed effects.
LMM1 <- LMMsolve(fixed = yield ~ rep + gen,
                data = john.alpha)

## Obtain deviance.
displayMME(LMM1)

Run the code above in your browser using DataLab