date2yeardec | R Documentation |
Convert dates to numeric years with decimal as fraction of a year
date2yeardec(date)
date |
a date (class 'Date') |
a scalar (class 'numeric')
date2yeardec(Sys.Date())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.