Learn R Programming

languageR (version 1.5.0)

aovlmer.fnc: Compute p-values for factors in mixed models

Description

This function no longer works with recent versions of lme4. For p-values, see the anova() function in the lmerTest package.

Usage

aovlmer.fnc(object,  ...)

Arguments

object

An lmer or glmer model for a response variable fitted with lmer.

Other optional arguments.

Value

A warning message.

See Also

See anova in lmerTest.

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  library(optimx)
  library(lme4)
  data(latinsquare)
  l.lmer = lmer(RT~SOA+(1|Word)+(1|Subject), data=latinsquare,
    control=lmerControl(optimizer="optimx",optCtrl=list(method="nlminb")))
  library(lmerTest)
  summary(l.lmer)
  anova(l.lmer)
  
# }

Run the code above in your browser using DataLab