yearweek: Format a date to isoyear-isoweek

View source: R/format.R

yearweekR Documentation

Format a date to isoyear-isoweek

Description

Format a date to isoyear-isoweek

Usage

yearweek(x)

Arguments

x

Date(s) to be converted to isoyear-isoweek

Value

Returns x in format YYYYWW where WW is the isoweek and YYYY is the isoyear.

Examples

# yw <- simpleyearweek(date)
# x$yw <- simpleyearweek(x$date)


DHatziioanou/simpleepi documentation built on Sept. 24, 2024, 5:25 a.m.