Learn R Programming

timeperiodsR (version 0.7.3)

weekends: Get vector with weekends.

Description

Method for get vector of weekends from timeperiod.

Usage

weekends(x)

Value

Vector of dates

Arguments

x

tpr object or date vector

Author

Alexey Seleznev

Examples

Run this code
pm <- previous_month()
# get weekends
pm_weekends <- weekends(pm)

Run the code above in your browser using DataLab