November 2016
Beginner to intermediate
959 pages
43h 46m
English
Before creating proper time series objects, we may want to do some preliminary analyses. This recipe shows you how.
The base R package provides all the necessary functionality. If you have not already downloaded the data files for this chapter, please do it now and ensure that they are located in your R working directory.
> wm <- read.csv("walmart.csv")> plot(wm$Adj.Close, type = "l")
The data can be viewed as a line chart as follows:
> d <- diff(wm$Adj.Close) ...
Read now
Unlock full access