R/srt4armSimData.R

#' Simulated 4-Arm Simple Randomized Trial (SRT) Data
#'
#' A simulated simple randomized trial dataset containing 1,000 individuals.
#' This is a 4-arm trial design with one control group and three intervention groups.
#'
#' @format A data frame with 1,000 rows and 6 variables:
#' \describe{
#'   \item{ID}{Identifier for participants ID}
#'   \item{interventions}{Treatment assignment coded as 0 for control and 1–3 for intervention groups}
#'   \item{pretest}{Pre-test scores}
#'   \item{gender}{Binary gender}
#'   \item{ethnicity}{A categorical variable with 3 categories}
#'   \item{posttest}{Post-test scores}
#' }
#' @source Simulated
"srt4armSimData"

Try the epts package in your browser

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

epts documentation built on June 8, 2025, 11:04 a.m.