openintro (version 2.4.0)

ami_occurrences: Acute Myocardial Infarction (Heart Attack) Events

Description

This data set is simulated but contains realistic occurrences of AMI in NY City.

Usage

ami_occurrences

Arguments

Format

A data frame with 365 observations on the following variable.

ami

Number of daily occurrences of heart attacks in NY City.

Examples

Run this code

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"
  )

Run the code above in your browser using DataLab