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.
consumption a numeric vector
flavor a factor with levels bread butter-vanilla plain roast beef
bread
butter-vanilla
plain
roast beef
location a factor with levels A B C D E
A
B
C
D
E
# NOT RUN { data(RatPoison) gf_line(consumption ~ flavor, group = ~ location, color = ~ location, data = RatPoison) %>% gf_point() # }
Run the code above in your browser using DataLab