isoyearweek_to_last_date {cstime}R Documentation

Last date in ISO yearweek

Description

Returns the Sunday in the isoyearweek

Usage

isoyearweek_to_last_date(x)

## Default S3 method:
isoyearweek_to_last_date(x)

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

Arguments

x

ISO yearweek, e.g. "2020-19" for 19th week in 2020

Value

Date of Sunday of that isoyearweek

Examples

isoyearweek_to_last_date(c("2019-19", "2020-01"))

[Package cstime version 2023.5.3 Index]