R/data_pets.R

# pets ----
#' Pets
#'
#' A simulated dataset with one random factor (id), two categorical factors (pet, country) and three continuous variables (score, age, weight). This dataset is useful for practicing plotting.
#'
#' @format A data frame with 800 rows and 6 variables:
#' \describe{
#'    \item{id}{Subject ID}
#'    \item{pet}{Type of pet (dog, cat, ferret)}
#'    \item{country}{What country the pet is from (UK or NL)}
#'    \item{score}{Score on some test (integers around 100)}
#'    \item{age}{Age of the pet in years}
#'    \item{weight}{Weight of the pet in kilograms}
#' }
#' @source \url{https://psyteachr.github.io/reprores-v2/data/pets.csv}
"pets"
PsyTeachR/reprores-v2 documentation built on Sept. 26, 2022, 10:06 a.m.