Skip to contents

ISO week to season week (numeric). Season week 1 is natural week 30.

Usage

isoweek_to_seasonweek_n(x)

# S3 method for default
isoweek_to_seasonweek_n(x)

# S3 method for character
isoweek_to_seasonweek_n(x)

# S3 method for numeric
isoweek_to_seasonweek_n(x)

Arguments

x

ISO week in a year (numeric), between 1 and 53. ISO week 53 is season week 23.5

Value

Season week in numeric

Examples

isoweek_to_seasonweek_n(31)
#> [1] 2