R/data-ami_occurrences.R

#' Acute Myocardial Infarction (Heart Attack) Events
#'
#' This dataset is simulated but contains realistic occurrences of AMI in NY
#' City.
#'
#'
#' @name ami_occurrences
#' @docType data
#' @format A data frame with 365 observations on the following variable.
#' \describe{
#'   \item{ami}{Number of daily occurrences of heart attacks in NY City.}
#' }
#' @keywords datasets
#' @examples
#'
#' library(ggplot2)
#'
#' ggplot(ami_occurrences, mapping = aes(x = ami)) +
#'   geom_bar() +
#'   labs(
#'     x = "Acute Myocardial Infarction events",
#'     y = "Count",
#'     title = "Acute Myocardial Infarction events in NYC"
#'   )
"ami_occurrences"
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.