Learn R Programming

timeperiodsR (version 0.7.3)

workdays_length: Number of workdays in the period.

Description

Method for get number of workdays in period. workdays is monday - friday.

Usage

workdays_length(x)

Value

Integer

Arguments

x

tpr object or date vector

Author

Alexey Seleznev

Examples

Run this code
pm <- previous_month()
# workdays number
pm_wd_len <- workdays_length(pm)

Run the code above in your browser using DataLab