tests/ranef.loading.R

# check that ranef and VarCorr work even after loading ordinal: 
library(lme4)
fm1 <- lmer(Reaction ~ Days + (Days | Subject), data=sleepstudy)
ranef(fm1)
VarCorr(fm1)
library(ordinal)
ranef(fm1)
VarCorr(fm1)

Try the ordinal package in your browser

Any scripts or data that you put into this service are public.

ordinal documentation built on Sept. 11, 2024, 7:44 p.m.