year | R Documentation |
Year of a date vector
year(d)
d |
a vector of dates |
The year part of each value in d
as an integer.
year(as.Date('2022-10-14'))
year(ISOdate(1923, 12, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.