raw_data/hunting_data_prep.R

## McElreath paper data

# load package here
library(here)

# load data
hunting_mcelreath <- read.csv(file.path(here(), "raw_data", "hunting.csv"))

# save paper data in "data" folder
save(hunting_mcelreath, file = file.path(here::here(), "data", "hunting_mcelreath.RData"))
ggcostoya/cataract documentation built on April 17, 2025, 11:56 a.m.