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 data frame 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"

Try the openintro package in your browser

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

openintro documentation built on Sept. 1, 2022, 9:06 a.m.