data-raw/game_data.R

students_per_game <- 35
game_data <- data.frame(
  outcome = c(
    16, 8, 9, 9, 7, 14, 5, 7, 11, 15, 11, 9, 13, 14, 11, 11, 12, 14, 11, 6, 13, 13, 9, 12, 8, 6, 15, 10, 10, 8, 7, 1, 16, 18, 8,
    11, 13, 9, 8, 14, 11, 9, 13, 10, 18, 12, 12, 13, 16, 16, 13, 13, 9, 14, 16, 12, 16, 11, 10, 16, 14, 13, 14, 15, 12, 14, 8, 12, 10, 13,
    17, 20, 14, 13, 15, 17, 14, 15, 14, 12, 13, 12, 17, 12, 12, 9, 11, 19, 10, 15, 14, 10, 10, 21, 13, 13, 13, 13, 17, 14, 14, 14, 16, 12, 19
  ),
  game = c(rep("A", students_per_game), rep("B", students_per_game), rep("C", students_per_game))
)

usethis::use_data(game_data, overwrite = TRUE, compress = "xz")
UCLATALL/coursekata-r documentation built on Aug. 24, 2023, 8:54 p.m.