is.timeSeries | R Documentation |
is.timeSeries
tests if its argument is a timeSeries
.
is.signalSeries
tests if series has no timestamps.
is.timeSeries(x)
is.signalSeries(x)
x |
an object. |
a logical value, TRUE
or FALSE
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.