stats-window: Time windows

windowR Documentation

Time windows

Description

Extract the subset of a "timeDate" object observed between two time stamps.

Usage

## S3 method for class 'timeDate'
window(x, start , end, ...)

Arguments

x

an object of class "timeDate".

start, end

starting date, required, and end date, optional. If supplied to must be after from.

...

arguments passed to other methods.

Value

an object of class "timeDate"

Examples

  
## timeCalendar
# monthly dates in current year
tS = timeCalendar()
tS 
   
## window
# 2nd quarter window:
tS[4:6]
window(tS, tS[4], tS[6])

timeDate documentation built on Oct. 21, 2025, 3 a.m.