toy_anova: Sample outcomes, by group

Description Usage Format Examples

Description

These are fake data and were simulated for the purposes of an example.

Usage

1
data("toy_anova")

Format

A data frame with 140 observations on the following 2 variables.

group

Group.

outcome

Outcome value for the case.

Examples

1
2
3
4
5
data(toy_anova)
by(toy_anova$outcome, toy_anova$group, mean)
these <- toy_anova$group %in% c("I", "II", "III")
anova(lm(outcome ~ group, toy_anova[these, ]))
anova(lm(outcome ~ group, toy_anova[!these, ]))

JECheadle/RSOC317L documentation built on May 15, 2019, 4:02 a.m.