R/data.R

#' Data to showcase MARMoT and ASB functions
#'
#' An example dataset where our treatment is the hospital structure.
#'
#'
#' @format ## `MARMoT_data`
#' A data frame with 8450 rows and 3 columns:
#' \describe{
#'   \item{hospital}{our treatment}
#'   \item{race, age}{our confounders}
#' }
#' @source {Created in-house to serve as an example}
"MARMoT_data"


#' Data to showcase deloof and mcdeloof functions
#'
#' A very simple example dataset
#'
#'
#' @format ## `deloof_data`
#' A data frame with 8,450 rows and 2 columns:
#' \describe{
#'   \item{comorbidities, age}{our partially ordered variables}
#' }
#' @source {Created in-house to serve as an example}
"deloof_data"

Try the MARMoT package in your browser

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

MARMoT documentation built on May 29, 2024, 9:56 a.m.