x: Sample time serie with outliers

Description Usage Format Examples

Description

everything is said...

Usage

1
x

Format

A list with two vectors:

ts

A time serie of 100 values, generated with runif(100), and where values 25, 50, 75 are respectively equal to 3, 4 and 5

anomalies

A vector containing the indexes of the three outliers (25, 50 and 75)

Examples

1
2
plot(x$ts, type = "l")
abline(v = x$anomalies, col = "red")

fxjollois/pad documentation built on May 16, 2019, 4:06 p.m.