Description Usage Arguments Examples
Function to create a year index variable
1 | yearIndex(x)
|
x |
A vector or column of dates |
1 2 3 4 5 6 |
date period
1 2017-01-01 1
2 2018-04-01 2
3 2019-07-01 3
4 2019-08-01 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.