complete_periods: Complete periods

Description Usage Arguments Value See Also

View source: R/complete_periods.R

Description

Create a function to identify which elements in a vector of dates correspond to complete calendar periods.

Usage

1
2
3
complete_periods(period = c('quarter', 'year'),
                 by = c('month', 'quarter'),
                 start.mon = month.name)

Arguments

period

One of 'quarter' (default) or 'year'.

by

One of 'month' (default) or 'quarter'.

start.mon

In which month does a year start (default is January)?

Value

A function.

See Also

complete quarters / years for the important cases.


ppd-dpp/calpr documentation built on June 25, 2020, 12:09 a.m.