extract.ts: Extract time series information

Description Usage Arguments Value

View source: R/telescope_Utils.R

Description

Extract the requird information (e.g., frequency, values) of the time series

Usage

1
2
## S3 method for class 'ts'
extract(tvp, natural = TRUE, debug = FALSE)

Arguments

tvp

The time value pair: either vector of raw values or n-by-2 matrix (raw values in second column), or time series

natural

Optional parameter: A flag indicating wheter only natural frequencies (e.g., daily, hourly, ...) or all found frequencies shall be considered.

debug

Optional parameter: If TRUE, debugging information will be displayed. FALSE by default

Value

the time value pair as vector, the frequency of the data, use.sec.freq and if the data was no time series, the last iteration and the periodigram of the frequncy estimation is also returned


DescartesResearch/telescope documentation built on Oct. 23, 2021, 9:51 a.m.