Skip to contents

Data from an experiment to see whether flavor and location of rat poison influence the consumption by rats.

Format

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

location

a factor with levels A B C D E

Examples


data(RatPoison)
#> Warning: data set ‘RatPoison’ not found
gf_line(consumption ~ flavor, group = ~ location, color = ~ location, data = RatPoison) %>%
  gf_point()