window {timeDate} | R Documentation |
Extract the subset of a 'timeDate' object observed between two time stamps.
## S3 method for class 'timeDate'
window(x, start , end, ...)
## S3 method for class 'timeDate'
cut(x, from , to, ...)
from, to |
starting date, required, and end date, ptional. If supplied
|
start, end |
starting date, required, and end date, ptional. If supplied
|
x |
an object of class |
... |
arguments passed to other methods. |
returns an object of class timeDate
.
## timeCalendar -
# Monthly Dates in Current Year:
tS = timeCalendar()
tS
## window -
# 2nd Quarter Window:
tS[4:6]
window(tS, tS[4], tS[6])