Skip to content

Commit b026ab9

Browse files
committed
Use moderndive pkg for flight data
1 parent a0f5eb8 commit b026ab9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

02-visualization.Rmd

-6
Original file line numberDiff line numberDiff line change
@@ -422,12 +422,6 @@ However, instead of considering hourly wind speeds for all days in 2023 for all
422422

423423
Let's create a time series plot of the hourly wind speeds saved in the `early_january_2023_weather` data frame by using `geom_line()` to create a linegraph\index{R packages!ggplot2!geom\_line()}, instead of using `geom_point()` like we used previously to create scatterplots:
424424

425-
```{r early-january, echo=FALSE}
426-
# Need to save `early_january_data` to {moderndive} for 2023 data
427-
early_january_2023_weather <- weather |>
428-
filter(origin == "EWR" & month == 1 & day <= 15)
429-
```
430-
431425
```{r hourlytemp, fig.cap="Hourly wind speed in Newark for January 1-15, 2023."}
432426
ggplot(data = early_january_2023_weather,
433427
mapping = aes(x = time_hour, y = wind_speed)) +

0 commit comments

Comments
 (0)