Description Usage Arguments Examples
View source: R/year_part.R
convert a date vector to labelled year parts
1
year_part(x)
x
A date vector.
year_part(seq(as.Date("2001-01-01"), by = "month", length.out = 16))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.