lme4 (version 0.9975-13)

cake: Breakage angle of chocolate cakes

Description

Data on the breakage angle of chocolate cakes made with different recipes and baked at different temperatures.

Usage

data(cake)

Arguments

source

Original data given in Cochran and Cox (1957).

Details

The replicate factor is nested within the branch factor.

References

Also cited in Lee, Nelder and Pawitan (2006)

Examples

Run this code
str(cake)
print(fm1 <- lmer(angle ~ recipe * temperature + (1|replicate/batch), cake,
             method = "ML"), corr = FALSE)
print(fm2 <- lmer(angle ~ recipe + temperature + (1|replicate/batch), cake,
             method = "ML"), corr = FALSE)
print(fm3 <- lmer(angle ~ recipe + as.numeric(temperature) +
             (1|replicate/batch), cake, method = "ML"), corr = FALSE)
anova(fm3, fm2, fm1)

Run the code above in your browser using DataCamp Workspace