R/data-ami_occurrences.R

#' Acute Myocardial Infarction (Heart Attack) Events
#'
#' This data set 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"

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.