November 2016
Beginner to intermediate
959 pages
43h 46m
English
In this recipe, we look at various features to create and plot time-series objects. We will consider data with single and multiple time series.
If you have not already downloaded the data files for this chapter, do it now and ensure that the files are in your R working directory.
sales:> s <- read.csv("ts-example.csv")> s.ts <- ts(s) > class(s.ts) [1] "ts"
> plot(s.ts)

> s.ts.a ...
Read now
Unlock full access