Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

methods-is

timeSeries Class, Coercion and Transformation


Description

is.timeSeries tests if its argument is a timeSeries. is.timeSeries tests if series has no timestamps.

Usage

is.timeSeries(x)
is.signalSeries(x)

Arguments

x

an object of class 'timeSeries'.

Value

Returns TRUE or FALSE depending on whether its argument is an object of class 'timeSeries' or not.

Examples

## Create an Artificial timeSeries Object - 
   setRmetricsOptions(myFinCenter = "GMT")
   charvec <- timeCalendar()
   data <- matrix(rnorm(12))
   TS <- timeSeries(data, charvec, units = "RAND")
   TS

## Test for timeSeries - 
   is.timeSeries(TS)

timeSeries

Financial Time Series Objects (Rmetrics)

v3062.100
GPL (>= 2)
Authors
Diethelm Wuertz [aut] (original code), Tobias Setz [cre], Yohan Chalabi [ctb], Martin Maechler [ctb] (<https://orcid.org/0000-0002-8685-9910>)
Initial release
2020-01-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.