fortify {lme4}R Documentation

add information to data based on a fitted model

Description

fortify adds information to data based on a fitted model; getData retrieves data as specified in the data argument

Usage

  fortify.merMod(model, data = getData(model),
    ...)
## S3 method for class 'merMod'
getData(object)

Arguments

model

fitted model

object

fitted model

data

original data set, if needed

...

additional arguments

Details

Examples

  fm1 <- lmer(Reaction~Days+(1|Subject),sleepstudy)
  names(fortify.merMod(fm1))

[Package lme4 version 1.1-35.5 Index]