R/data.R

#' Time-to-event RCT data set with moderate crossing of survival curves.
#'
#' A synthetic data set based on an RCT with crossing survival curves.
#'
#' @format A data frame with 328 rows and 3 variables:
#' \describe{
#'   \item{time}{time to event / censoring}
#'   \item{event}{observed event 1 / 0}
#'   \item{arm}{treatment arm}
#'   ...
#' }
"moderate_cross"

Try the nphRCT package in your browser

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

nphRCT documentation built on June 27, 2024, 5:08 p.m.