-
Notifications
You must be signed in to change notification settings - Fork 36
/
README.Rmd
62 lines (46 loc) · 2.34 KB
/
README.Rmd
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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# fpp3 <img src="man/figures/logo.png" align="right" width = 150 />
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/fpp3)](https://cran.r-project.org/package=fpp3)
[![R build status](https://github.com/robjhyndman/fpp3/workflows/R-CMD-check/badge.svg)](https://github.com/robjhyndman/fpp3/actions)
[![Downloads](https://cranlogs.r-pkg.org/badges/fpp3)](https://cran.r-project.org/package=fpp3)
<!-- badges: end -->
## Overview
The fpp3 package contains data used in the book [*Forecasting: Principles and Practice* (3rd edition)](https://OTexts.com/fpp3/) by Rob J Hyndman and George Athanasopoulos. It also loads several packages needed to do the analysis described in the book. These packages work with the [tidyverse](https://www.tidyverse.org/) set of packages, sharing common data representations and API design. Additional data sets not used in the book are also included.
## Installation
You can install the **stable** version from
[CRAN](https://cran.r-project.org/package=fpp3).
```{r eval = FALSE}
install.packages('fpp3', dependencies = TRUE)
```
You can install the **development** version from
[Github](https://github.com/robjhyndman/fpp3)
```{r eval = FALSE}
# install.packages("remotes")
remotes::install_github("robjhyndman/fpp3")
```
## Usage
`library(fpp3)` will load the following packages:
* [tibble](https://tibble.tidyverse.org), for tibbles, a modern re-imagining of data frames.
* [dplyr](https://dplyr.tidyverse.org), for data manipulation.
* [tidyr](https://tidyr.tidyverse.org), to tidy data.
* [lubridate](https://lubridate.tidyverse.org), for dates/times.
* [ggplot2](https://ggplot2.tidyverse.org), for data visualisation.
* [tsibble](https://tsibble.tidyverts.org), for tsibbles, a time series version of a tibble.
* [tsibbledata](https://tsibbledata.tidyverts.org), various time series data sets in the form of tsibbles.
* [feasts](https://feasts.tidyverts.org), for features and statistics of time series.
* [fable](https://fable.tidyverts.org), for fitting models and producing forecasts.
You also get a condensed summary of conflicts with other packages you have loaded:
```{r example}
library(fpp3)
```