isoyear_to_last_isoyearweek_c {cstime}R Documentation

Last ISO yearweek (character) in ISO year

Description

Returns the last isoyearweek in the isoyear

Usage

isoyear_to_last_isoyearweek_c(x)

## Default S3 method:
isoyear_to_last_isoyearweek_c(x)

## S3 method for class 'character'
isoyear_to_last_isoyearweek_c(x)

## S3 method for class 'numeric'
isoyear_to_last_isoyearweek_c(x)

Arguments

x

ISO year, e.g. 2020

Value

ISO year-week in character, of the last ISO year

Examples

isoyear_to_last_isoyearweek_c(c(2019, 2019, 2020, 2021))

[Package cstime version 2023.5.3 Index]