workdays_length: Number of workdays in the period.

View source: R/methods.R

workdays_lengthR Documentation

Number of workdays in the period.

Description

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

Usage

workdays_length(x)

Arguments

x

tpr object or date vector

Value

Integer

Author(s)

Alexey Seleznev

Examples

pm <- previous_month()
# workdays number
pm_wd_len <- workdays_length(pm)

timeperiodsR documentation built on June 22, 2024, 12:23 p.m.