'Visualize time series in a plot

I installed a package from https://robjhyndman.com/hyndsight/time-series-data-in-r/
using

install.packages("fma")

Now I want to select one data set which contains monthly time series, for example "boston" and visualize the time series in a plot.

However I am stuck as I don't know do I do that with the lubridate package or something else? I would appreciate some help. Thanks a lot.

r


Solution 1:[1]

You can just use plot(boston) like this:

install.packages("fma")
library(fma)  
plot(boston)

Output:

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Quinten