powered by
Extract the subset of a "timeDate" object observed between two time stamps.
"timeDate"
# S3 method for timeDate window(x, start , end, ...)# S3 method for timeDate cut(x, from , to, ...)
# S3 method for timeDate cut(x, from , to, ...)
an object of class "timeDate"
an object of class "timeDate".
starting date, required, and end date, optional. If supplied to must be after from.
to
from
arguments passed to other methods.
## timeCalendar # monthly dates in current year tS = timeCalendar() tS ## window # 2nd quarter window: tS[4:6] window(tS, tS[4], tS[6])
Run the code above in your browser using DataLab