R/simdata.R

#' Simulated data
#'
#' This is a simulated data set in the (start,stop] format. The subject column
#' refers to subject ID and note that there are multiple rows per subject.
#' The columns x and dose correspond to a treatment and dose variable respectively, while
#' M refers to the longitudinal mediator values. The triplet (start, stop, event)
#' corresponds to the time-to-event data in the required (start,stop] format.
#'
#' @format A data frame with the following variables: \code{subject} (fct), \code{x} (dbl),
#' \code{dose} (fct), \code{M} (dbl), \code{start} (dbl), \code{stop} (dbl), \code{event} (dbl).
#'
#' @name simdata
#' @docType data
#' @keywords data
NULL

Try the dpasurv package in your browser

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

dpasurv documentation built on Sept. 11, 2024, 9:36 p.m.