Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robjhyndman/fpp2-package
All data sets required for the examples and exercises in the book "Forecasting: principles and practice" (2nd ed, 2018) by Rob J Hyndman and George Athanasopoulos <http://OTexts.org/fpp2/>. All packages required to run the examples are also loaded.
https://github.com/robjhyndman/fpp2-package
cran data forecasting r
Last synced: 2 months ago
JSON representation
All data sets required for the examples and exercises in the book "Forecasting: principles and practice" (2nd ed, 2018) by Rob J Hyndman and George Athanasopoulos <http://OTexts.org/fpp2/>. All packages required to run the examples are also loaded.
- Host: GitHub
- URL: https://github.com/robjhyndman/fpp2-package
- Owner: robjhyndman
- Created: 2014-08-11T04:06:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T01:30:04.000Z (over 1 year ago)
- Last Synced: 2023-10-20T22:52:11.846Z (about 1 year ago)
- Topics: cran, data, forecasting, r
- Language: R
- Homepage: http://pkg.robjhyndman.com/fpp2-package/
- Size: 31.8 MB
- Stars: 104
- Watchers: 11
- Forks: 52
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# fpp2
[![CRAN status](https://www.r-pkg.org/badges/version/fpp2)](https://cran.r-project.org/package=fpp2)
[![R build status](https://github.com/robjhyndman/fpp2-package/workflows/R-CMD-check/badge.svg)](https://github.com/robjhyndman/fpp2-package/actions)
[![Downloads](http://cranlogs.r-pkg.org/badges/fpp2)](https://cran.r-project.org/package=fpp2)## Overview
The R package *fpp2* loads data required for the examples and exercises used in the book [*Forecasting: Principles and Practice* (2nd edition)](https://otexts.com/fpp2/) by Rob J Hyndman and George Athanasopoulos. It also loads several packages needed to do the analysis described in the book.
## Installation
You can install the **stable** version from
[CRAN](https://cran.r-project.org/package=fpp2).```{r eval = FALSE}
install.packages('fpp2', dependencies = TRUE)
```You can install the **development** version from
[Github](https://github.com/robjhyndman/fpp2-package)```{r eval = FALSE}
# install.packages("remotes")
remotes::install_github("robjhyndman/fpp2-package")
```## Usage
`library(fpp2)` will load the following packages:
* [forecast](https://pkg.robjhyndman.com/forecast/), for forecasting methods and some data sets.
* [ggplot2](https://ggplot2.tidyverse.org), for data visualisation.
* [fma](https://pkg.robjhyndman.com/fma/), for data taken from the book "Forecasting: methods and applications" by Makridakis, Wheelwright and Hyndman (1998).
* [expsmooth](https://pkg.robjhyndman.com/expsmooth/), for data taken from the book "Forecasting with Exponential Smoothing" by Hyndman, Koehler, Ord and Snyder (2008).You also get a condensed summary of conflicts with other packages you have loaded:
```{r example}
library(fpp2)
```