tstp_glamp: tstp_glamp

Description Usage Arguments Details Value Author(s)

Description

Gets floating amplitudes

Usage

1
tstp_glamp(con, tsid, ib, from = NULL, to = NULL, verbose = FALSE)

Arguments

con

A tstp_connection object.

tsid

The timeseries ID.

ib

Specifies the interval width (e.g., 5s, 30min, 1h, 7d, 1mon, 1a, ...)

from

Specifies the first date (%Y-%m-%d).

to

Specifies the last date (%Y-%m-%d).

verbose

logical. Provide additional details?

Details

Calculates floating amplitutes (difference between the floating maxima and the floating minima). Supply a time series id (tsid), a focus with Von=time and Bis=time, and the width of the interval that is used to calculate the floating values (e.g. 1h): ib=width (e.g., 5s, 30min, 1h, 7d, 1mon, 1a, ...)

Value

A time series as an xts object.

Author(s)

Dominik Leutnant


dleutnant/tstpr documentation built on May 15, 2019, 9:18 a.m.