Learn R Programming

fastR2 (version 0.2.0)

RatPoison: Rat poison -- unfinished documentation

Description

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

Arguments

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

Run this code
# 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