# Preface

This book contains solutions to the problems in the book Time Series Analysis: with Applications in R, second edition, by Cryer and Chan. It is provided as a github repository so that anybody may contribute to its development.

## Dependencies

You will need these packages to reproduce the examples in this book:

install.packages(c(
"latticeExtra",
"lattice",
"TSA",
"pander",
"gridExtra",
"devtools",
"zoo",
"xts"
))
devtools::install_github("jolars/latticework")
# Load the packages
library(devtools)
library(lattice)
library(latticeExtra)
library(gridExtra)
library(TSA)
library(pander)
library(zoo)
library(xts)
library(latticework)

In order for some of the content in this book to be reproducible, the random seed is set at 1234.

set.seed(1234)