weird

R-CMD-check CRAN status Downloads Licence

Overview

The weird package contains functions and data used in the book That’s Weird: Anomaly Detection Using R by Rob J Hyndman. It also loads several packages needed to do the analysis described in the book.

Installation

You can install the stable version from CRAN with:

install.packages("weird")

You can install the development version of weird from GitHub with:

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

Usage

library(weird) will also load the following packages:

When you load the weird package, you get a condensed summary of conflicts with other packages you have previously loaded:

library(weird)
#> ── Attaching core weird packages ───────────────────────────────────── weird 3.0.0 ──
#> ✔ distributional 0.8.1     ✔ ggplot2        4.0.3
#> ✔ dplyr          1.2.1
#> ── Conflicts ───────────────────────────────────────────────────── weird_conflicts ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag()    masks stats::lag()