weekends {timeperiodsR} | R Documentation |
Get vector with weekends.
Description
Method for get vector of weekends from timeperiod.
Usage
weekends(x)
Arguments
x |
tpr object or date vector |
Value
Vector of dates
Author(s)
Alexey Seleznev
Examples
pm <- previous_month()
# get weekends
pm_weekends <- weekends(pm)
[Package timeperiodsR version 0.7.3 Index]