R/adolescents.R

#' Fictional data set of adolescent medical costs
#'
#' A dataset containing the gender and medical costs of 50 adolescents over a
#' five year period.
#'
#' @format A data frame with 50 rows and 3 variables:
#' \describe{
#'   \item{id}{Study ID; just a row number}
#'   \item{gender}{A factor with two levels: \code{f} for females, \code{m} for 
#'   males}
#'   \item{cost}{The cost in dollars of medical care }
#' }
"adolescents"
tloux/slubst3100 documentation built on Aug. 11, 2024, 6:58 p.m.