Learn R Programming

⚠️There's a newer version (4.3.3) of this package.Take me there.

anomaly

Fast anomaly detection in R

In Brief

This R package implements CAPA (Collective And Point Anomalies) introduced by Fisch, Eckley and Fearnhead (2018). The package is available on CRAN and contains lightcurve data from the Kepler telescope to illustrate the algorithm.

About CAPA

CAPA detects and distinguishes between collective and point anomalies. The algorithm's runtime scales linearly at best and quadratically at worst in the number of datapoints. It is coded in C and can process 10000 datapoints almost instantly.

Copy Link

Version

Install

install.packages('anomaly')

Monthly Downloads

402

Version

4.0.2

License

GPL

Maintainer

Daniel Grose

Last Published

October 20th, 2021

Functions in anomaly (4.0.2)

moving_ac_corrected

Transforms the data X to account for autocorrelation using a moving window and a burn-in.
bard

Detection of multivariate anomalous segments using BARD.
Lightcurves

Kepler Lightcurve data.
pass

Detection of multivariate anomalous segments using PASS.
ac_corrected

Transforms the data X to account for autocorrelation.
capa.mv

Detection of multivariate anomalous segments and points using MVCAPA.
capa

A technique for detecting anomalous segments and points based on CAPA.
scapa.uv

Detection of univariate anomalous segments using SCAPA.
capa.uv

Detection of univariate anomalous segments and points using CAPA.
machinetemp

Machine temperature data.
simulate

A function for generating simulated multivariate data
summary

Summary of collective and point anomalies.
show

Displays S4 objects produced by capa methods.
sampler

Post processing of BARD results.
scapa.mv

Online detection of multivariate anomalous segments and points using SMVCAPA.
tierney

tierney
plot-bard.sampler.class

Visualisation of data, collective and point anomalies.
period_average

A function to search the Kepler data for periodically recurring dips in luminosity.
collective_anomalies

Collective anomaly location, lags, and mean/variance changes.
point_anomalies

Point anomaly location and strength.
robustscale

robustscale