isoyearweek_to_isoyear_n {cstime} | R Documentation |
ISO yearweek to year (numeric)
Description
This function breaks the string connected with '-' into year/week
Usage
isoyearweek_to_isoyear_n(x)
## Default S3 method:
isoyearweek_to_isoyear_n(x)
## S3 method for class 'character'
isoyearweek_to_isoyear_n(x)
Arguments
x |
Year-week, e.g. "2020-19" for 19th week in 2020 |
Value
ISO year in numeric
Examples
isoyearweek_to_isoyear_n('2020-10')
[Package cstime version 2023.5.3 Index]