Simple Definition Of Time Intervals


[Up] [Top]

Documentation for package ‘timeperiodsR’ version 0.7.3

Help Pages

timeperiodsR-package Simple Definition Of Time Intervals
%.in% Operators of tpr objects.
%left_in% Operators of tpr objects.
%left_out% Operators of tpr objects.
%right_in% Operators of tpr objects.
%right_out% Operators of tpr objects.
as_timeperiod Convert date or string vector to timeperiod.
check_dayoffs Check if the day is an official day off
custom_period Custopm period
first_weekend Get first weekend day in period.
first_workday Get first workday day in period.
last_n_days Start and end of last n days
last_n_months Start and end of last n months
last_n_quarters Start and end of last n quarters
last_n_weeks Start and end of last n weeks
last_n_years Start and end of last n years
last_weekend Get last weekend day in period.
last_workday Get last workday day in period.
next_month Start and end of next month
next_n_days Start and end of next n days
next_n_months Start and end of next n months
next_n_quarters Start and end of next n quarters
next_n_weeks Start and end of next n weeks
next_n_years Start and end of next n weeks
next_quarter Start and end of next quarter
next_week Start and end of next week
next_year Start and end of next year
previous_month Start and end of previous month
previous_quarter Start and end of previous quarter
previous_week Start and end of previous week
previous_year Start and end of previous year
this_month Start and end of month
this_quarter Start and end of quarter
this_week Start and end of week
this_year Start and end of year
timeperiodsR Simple Definition Of Time Intervals
weekends Get vector with weekends.
weekends_length Number of weekdends days in the period.
workdays Get vector with workdays.
workdays_length Number of workdays in the period.