R/example_data.R

#' SensIAT Example Data
#'
#' A simulated dataset for use in the SensIAT tutorial, testing and documentation.
#'
#' @format \code{SensIAT_example_data} is a data frame with 779 rows and 4 variables consisting of 200
#' simulated patients.  Each row in the data represents a visit for the patient.
#' The columns are:
#' \describe{
#'      \item{Subject_ID}{A unique identifier for each patient.}
#'      \item{Visit}{The ordinal number of the visit for the patient.  Baseline observation is 0.}
#'      \item{Time}{The time of the visit in days, since baseline.}
#'      \item{Outcome}{The outcome of interest.}
#' }
"SensIAT_example_data"


#' @describeIn SensIAT_example_data A simulated dataset with both treatment and control groups.
#' @format `SensIAT_example_fulldata` is a data frame with 1614 rows and 5 variables consisting of 400
#' simulated patients, 200 for each treatment arm.  Each row in the data represents a visit for the patient.
#' The columns are:
#' \describe{
#'      \item{Subject_ID}{A unique identifier for each patient.}
#'      \item{Visit}{The ordinal number of the visit for the patient.  Baseline observation is 0.}
#'      \item{Time}{The time of the visit in days, since baseline.}
#'      \item{Outcome}{The outcome of interest.}
#'      \item{Treatment_group}{Treatment or control group.}
#' }
"SensIAT_example_fulldata"

Try the SensIAT package in your browser

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

SensIAT documentation built on Sept. 9, 2025, 5:50 p.m.