For this project, I created a time-series graph showing the average high temperatures of every month for Tampa. The temperatures were on average, higher than I expected, with January and February having average highs in the mid-70s.
> high <- c(71, 74, 78, 84, 88, 90, 91, 91, 89, 85, 78, 75)
> high.timeseries <- ts(high, c(1), frequency = 12)
> print(high.timeseries)
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
1 71 74 78 84 88 90 91 91 89 85 78
Dec
1 75
> png(file = "high.png")
> plot(high.timeseries)
> high <- c(71, 74, 78, 84, 88, 90, 91, 91, 89, 85, 78, 75)
> high.timeseries <- ts(high, c(1), frequency = 12)
> print(high.timeseries)
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
1 71 74 78 84 88 90 91 91 89 85 78
Dec
1 75
> png(file = "high.png")
> plot(high.timeseries)

Comments
Post a Comment