Skip to contents

Add months to a year month

Usage

ym_add_months(ym = c(201201, 201303), months = c(1, -12))

Arguments

ym

ym

months

months

Examples


ym_add_months(c(200902, 201912), months = c(1, -12))
#> [1] 200903 201812