R/df.R

#' Test data to run the examples
#'
#'A dataset that includes 120 individuals with sex gender and monthly income.
#'
#' @format  A data frame with 2 variables:
#' \describe{
#'   \item{monthly_income}{ }
# #'   \item{in_debt}{0 = no and 1 = yes}
#'   \item{sex}{ }
# #'   \item{age}{ }
#' }
"df_income"


#' Test data to run the examples
#'
#'A dataset that includes 120 individuals.
#'
#' @format  A data frame with 2 variables:
#' \describe{
#'   \item{baseline_stress}{ }
#'   \item{one_year_stress}{ }
#' }
"df_stress"

#' Test data to run the examples
#'
#'A dataset that includes 120 individuals.
#'
#' @format  A data frame with 2 variables:
#' \describe{
#'   \item{treatment_group}{ }
#'   \item{control_group}{ }
#' }
"df_cancer"

Try the sprtt package in your browser

Any scripts or data that you put into this service are public.

sprtt documentation built on July 9, 2023, 6:14 p.m.