This function marks levelshifts in the input vector.

detect_levelshifts(
  x,
  timestamps,
  apriori,
  ...,
  plot = FALSE,
  verbose = FALSE,
  title = NULL
)

# S4 method for numeric,Apriori
detect_levelshifts(x, timestamps, apriori, plot, verbose, title)

Arguments

x

numeric vector of values

timestamps

timestamp vector

apriori

Apriori class

...

optional parameters, depending on signature:

plot

prints comprehensive plots

verbose

prints comprehensive information

title

adds title to the plot

Value

Logical vector with same length as x, specifying TRUE for an levelshift start.

Methods (by class)

  • x = numeric,apriori = Apriori: