Description Usage Arguments Value Examples
Helpful for masking absolute dates and getting a continuous predictor/target
1 | zero_dates(x_date)
|
x_date |
a vector of absolute dates to be transformed |
delta_date, a numeric vector of days since the first date
1 2 | past_101_days <- Sys.Date() - seq(from = 0, to=100)
assert(all(zero_dates(past_101_days) == 100:0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.