Skip to content

Commit

Permalink
Update 02-visualization.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc authored Feb 19, 2025
1 parent 924cd4e commit 8dea389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 02-visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ The most common examples of linegraphs have some notion of time on the x-axis: h

Let's explore the `weather` data frame from the `nycflights23` package by running `View(weather)` and `glimpse(weather)`. Furthermore, let's read the associated help file by running `?weather` to bring up the help file.

Observe that there is a variable called `temp` of hourly wind speed recordings in miles per hour at weather stations near all three major airports in New York City: Newark (`origin` code `EWR`), John F. Kennedy International (`JFK`), and LaGuardia (`LGA`).
Observe that there is a variable called `wind_speed` of hourly wind speed recordings in miles per hour at weather stations near all three major airports in New York City: Newark (`origin` code `EWR`), John F. Kennedy International (`JFK`), and LaGuardia (`LGA`).

However, instead of considering hourly wind speeds for all days in 2023 for all three airports, for simplicity let's only consider hourly wind speeds at Newark airport for the first 15 days in January. This data is accessible in the `early_january_2023_weather` data frame included in the `moderndive` package. In other words, `early_january_2023_weather` contains hourly weather observations for `origin` equal to `EWR` (Newark's airport code), `month` equal to `1`, and `day` less than or equal to `15`.

Expand Down

0 comments on commit 8dea389

Please sign in to comment.