-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathindex.Rmd
More file actions
73 lines (60 loc) · 1.61 KB
/
index.Rmd
File metadata and controls
73 lines (60 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
title: "Solutions to Time Series Analysis: with Applications in R"
author: "Johan Larsson"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
documentclass: book
link-citations: yes
github-repo: jolars/TSAsolutions
cover-image: images/tsa.png
description: "This book contains solutions to the problems in the book Time Series Analysis with Applications in R (2nd ed.) by Cryer and Chan. It is provided as a github repository so that anybody may contribute to its development."
---
```{r setup-options, include = FALSE}
knitr::opts_chunk$set(
fig.align = "center",
fig.pos = "!htbp"
)
lattice::lattice.options(default.theme = list(
fontsize = list(text = 10, points = 8)
))
options(digits = 2)
# Source some scripts
source(file.path("R", "lattice_wrappers.R"))
```
# 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:
```{r, eval = FALSE}
install.packages(c(
"latticeExtra",
"lattice",
"TSA",
"pander",
"gridExtra",
"devtools",
"zoo",
"xts"
))
devtools::install_github("jolars/latticework")
```
```{r libraries, message = FALSE}
# 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.
```{r}
set.seed(1234)
```