The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

fpp2

CRAN status R build status Downloads

Overview

The R package fpp2 loads data required for the examples and exercises used in the book Forecasting: Principles and Practice (2nd edition) 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.

install.packages("fpp2", dependencies = TRUE)

You can install the development version from Github

# install.packages("pak")
pak::pak("robjhyndman/fpp2")

Usage

library(fpp2) will load the following packages:

You also get a condensed summary of conflicts with other packages you have loaded:

library(fpp2)
#> Registered S3 method overwritten by 'quantmod':
#>   method            from
#>   as.zoo.data.frame zoo
#> ── Attaching packages ─────────────────────────────────────── fpp2 2.5.0.9000 ──
#> ✔ ggplot2   4.0.1          ✔ fma       2.5       
#> ✔ forecast  9.0.0          ✔ expsmooth 2.3.0.9000
#> 

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.