Skip to contents

The nominal length of a pay period, for display. "semimonthly" (15) and "monthly" (30) are round numbers, so don't annualize with them; use pay_periods_per_year() instead.

Usage

pay_period_days(frequency)

Arguments

frequency

One of "weekly", "biweekly", "semimonthly", or "monthly".

Value

A number of days: 7, 14, 15, or 30.

Examples

pay_period_days("biweekly")
#> [1] 14