R/data.R

#' Results from a simulated study of two chemotherapy agents: Drug A and Drug B
#'
#' A dataset containing the baseline characteristics of 200 patients
#' who received Drug A or Drug B.  Dataset also contains the outcome of
#' tumor response to the treatment.
#'
#' @format A data frame with 200 rows--one row per patient
#' \describe{
#'     \item{trt}{Chemotherapy Treatment}
#'     \item{age}{Age, yrs}
#'     \item{marker}{Marker Level, ng/mL}
#'     \item{stage}{T Stage}
#'     \item{grade}{Grade}
#'     \item{response}{Tumor Response}
#'     \item{death}{Patient Died}
#'     \item{ttdeath}{Months to Death/Censor}
#' }
"trial"

#' Biostatistics project templates
#'
#' The `project_templates` object defines the contents of the Biostatistics project
#' templates used in `create_bst_project()` and `use_bst_file()`.
#'
#' @format A named list containing the Biostatistics project template.
#' @examples
#' if (FALSE) {
#' create_hot_project(
#'   path = file.path(tempdir(), "Sjoberg New Project"),
#'   template = bstfun::project_templates[["default"]]
#' )
#' }
#' @seealso [create_bst_project()]
#' @seealso [use_bst_file()]
"project_templates"
ddsjoberg/bstfun documentation built on July 4, 2023, 10:59 a.m.