Plot.Anomalies: Plots a summary figure of results obtained with 'tapas'.

View source: R/PlotAnomalies.R

Plot.AnomaliesR Documentation

Plots a summary figure of results obtained with 'tapas'.

Description

Requires output from one of the following functions: global_thresh(), local_thresh(), or peak_detection().

Usage

Plot.Anomalies(
  series = NULL,
  x.lim = NULL,
  y_lim = NULL,
  plot.crosses = T,
  plot.x = F,
  plot.neg = T
)

Arguments

series

The output of global_thresh(), local_thresh(), or peak_detection().

x.lim

A vector defining the limits for the x-axis scale (time scale).

y_lim

A vector defining the limits for the y-axis scale.

plot.crosses

Boolean. If TRUE (by default), crosses are displayed to indicate the location of anomalies.

plot.x

Boolean. If FALSE (by default), the x-axis labels are omitted.

plot.neg

Boolean. If FALSE (by default), both positive and negative anomalies are marked with colored shaded areas.

Author(s)

Walter Finsinger


wfinsinger/tapas documentation built on Aug. 22, 2024, 4:28 a.m.