R/data-cpr.R

#' CPR data set
#'
#' These patients were randomly divided into a treatment group where they
#' received a blood thinner or the control group where they did not receive a
#' blood thinner. The outcome variable of interest was whether the patients
#' survived for at least 24 hours.
#'
#'
#' @name cpr
#' @docType data
#' @format A tibble with 90 observations on the following 2 variables.
#' \describe{
#'   \item{group}{a factor with levels \code{control} and \code{treatment}}
#'   \item{outcome}{a factor with levels \code{died} and \code{survived}}
#'   }
#' @source Efficacy and safety of thrombolytic therapy after initially
#' unsuccessful cardiopulmonary resuscitation: a prospective clinical trial, by
#' Bottiger et al., The Lancet, 2001.
#' @keywords datasets
#' @examples
#'
#' table(cpr)
#'
"cpr"
OpenIntroStat/openintro-r-package documentation built on Aug. 12, 2019, 5:19 a.m.