R/data.R

#' Simulated dataset for package 'DecisionCurve'
#'
#' Simulated cohort data containing demographic variables,
#' marker values and cancer outcome.
#'
#' @format A data frame with 500 rows and 6 variables:
#' \itemize{
#'   \item Age: Age in years.
#'   \item Female: Indicator for female gender.
#'   \item Smokes: Indicator for smoking status.
#'   \item Marker1: simulated biomarker.
#'   \item Marker2: simulated biomarker.
#'   \item Cancer: Indicator for cancer.
#' }
"dcaData"


#' Simulated dataset for package 'DecisionCurve'
#'
#' Simulated data from a case-control study containing demographic variables,
#' marker values and cancer outcome. The prevalence of cancer
#' in the population that this data is sampled from is approximately 0.11.
#'
#' @format A data frame with 500 rows and 6 variables:
#' \itemize{
#'   \item Age: Age in years.
#'   \item Female: Indicator for female gender.
#'   \item Smokes: Indicator for smoking status.
#'   \item Marker1: simulated biomarker.
#'   \item Marker2: simulated biomarker.
#'   \item Cancer: Indicator for cancer.
#' }
"dcaData_cc"

Try the rmda package in your browser

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

rmda documentation built on May 2, 2019, 11:15 a.m.