pedigreemm {pedigreemm}R Documentation

Fit mixed-effects models incorporating pedigrees

Description

Fit linear or generalized linear mixed models incorporating the effects of a pedigree.

Usage

pedigreemm(formula, data, family = NULL, REML = TRUE,
           pedigree = list(), control = list(),
           start = NULL, verbose = FALSE, subset, weights,
           na.action, offset, contrasts = NULL, model = TRUE,
           x = TRUE, ...)

Arguments

pedigree a named list of pedigree objects. The names must correspond to the names of grouping factors for random-effects terms in the formula argument.
formula as in lmer
data as in lmer
family as in lmer
REML as in lmer
control as in lmer
start as in lmer
verbose as in lmer
subset as in lmer
weights as in lmer
na.action as in lmer
offset as in lmer
contrasts as in lmer
model as in lmer
x as in lmer
... as in lmer

Details

All arguments to this function are the same as those to the function lmer except pedigree which must be a named list of pedigree objects. Each name (frequently there is only one) must correspond to the name of a grouping factor in a random-effects term in the formula. The observed levels of that factor must be contained in the pedigree. For each pedigree the (left) Cholesky factor of the relationship matrix restricted to the observed levels is calculated using relfactor and applied to the model matrix for that term.

Value

a pedigreemm object.

See Also

pedigreemm, pedigree, relfactor.


[Package pedigreemm version 0.2-4 Index]