isoyearweek_to_isoyear_n {cstime} | R Documentation |
This function breaks the string connected with '-' into year/week
isoyearweek_to_isoyear_n(x)
## Default S3 method:
isoyearweek_to_isoyear_n(x)
## S3 method for class 'character'
isoyearweek_to_isoyear_n(x)
x |
Year-week, e.g. "2020-19" for 19th week in 2020 |
ISO year in numeric
isoyearweek_to_isoyear_n('2020-10')