dateRange: Start and End Time Indices for a Series

Description Usage Arguments Value See Also Examples

View source: R/tis.R

Description

Returns the starting and ending times of a series in a ti object of length 2.

Usage

1

Arguments

x

a ts or tis time series

Value

a ti (Time Index) object of length two. The first element is the starting time index, while the second is the ending time index.

See Also

start, end, ti, tis

Examples

1
2
3
4
aTs <- ts(1:24, start = c(2001, 1), freq = 12)
aTis <- as.tis(aTs)
dateRange(aTs)
dateRange(aTis)

tis documentation built on Sept. 29, 2021, 1:06 a.m.