Skip to content

cran/fpp2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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("remotes")
remotes::install_github("robjhyndman/fpp2-package")

Usage

library(fpp2) will load the following packages:

  • forecast, for forecasting methods and some data sets.
  • ggplot2, for data visualisation.
  • fma, for data taken from the book “Forecasting: methods and applications” by Makridakis, Wheelwright and Hyndman (1998).
  • 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:

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

About

❗ This is a read-only mirror of the CRAN R package repository. fpp2 — Data for "Forecasting: Principles and Practice" (2nd Edition). Homepage: https://pkg.robjhyndman.com/fpp2-package/https://github.com/robjhyndman/fpp2-packagehttps://otexts.com/fpp2/ Report bugs for this package: https://github.com/robjhyndman/fpp2-package/issues

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages