iso_week | R Documentation |
iso_week()
is a flexible function to return formatted
ISO weeks, with optional ISO year and ISO day.
isoday()
returns the day of the ISO week.
iso_week(x, year = TRUE, day = FALSE)
isoday(x)
x |
Date vector. |
year |
Logical. If |
day |
Logical. If |
An ISO week vector of class character
.
library(timeplyr)
library(lubridate)
iso_week(today())
iso_week(today(), day = TRUE)
iso_week(today(), year = FALSE, day = TRUE)
iso_week(today(), year = FALSE, day = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.