R/mrc_ex_data.R

#' Age, height, and math score data (synthetic).
#'
#' A synthetic dataset for teaching MRC.
#'
#' @format A data frame with 10000 rows and 5 variables:
#' \describe{
#'   \item{age}{Age of participants}
#'   \item{height}{Height of participants}
#'   \item{score}{Math proficiency score}
#'   \item{age_c}{Mean centered age}
#'   \item{height_c}{Mean centered height}
#' }
#' @source \url{https://github.com/jvcasillas/ds4ling}
"mrc_ex_data"
jvcasillas/ds4ling documentation built on March 4, 2025, 11:18 p.m.