Skip to contents

Return the month number that would occur before the integer in `month`

Usage

previous_month(month)

Arguments

month

- an integer month number

Value

the previous month number

Examples

previous_month(9)
#> [1] 8
previous_month(1)
#> [1] 12