years | R Documentation |
Extract year from Date/POSIXt object.
years(x)
x |
a vector of dates, of class |
Vector of years as integers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.