powered by
Data from an experiment to see whether flavor and location of rat poison influence the consumption by rats.
A data frame with 20 observations on the following 3 variables.
a numeric vector
a factor with levels bread butter-vanilla plain roast beef
bread
butter-vanilla
plain
roast beef
a factor with levels A B C D E
A
B
C
D
E
data(RatPoison) gf_line(consumption ~ flavor, group = ~ location, color = ~ location, data = RatPoison) %>% gf_point()
Run the code above in your browser using DataLab