is.timeSeries {timeSeries} | R Documentation |
Check if an object is from class 'timeSeries'
Description
is.timeSeries
tests if its argument is a timeSeries
.
is.signalSeries
tests if series has no timestamps.
Usage
is.timeSeries(x)
is.signalSeries(x)
Arguments
x |
an object. |
Value
a logical value, TRUE
or FALSE
.
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)
[Package timeSeries version 4032.109 Index]