Description Usage Arguments Value Examples
Create an object of class 'time'
1 | decline_time(x, unit = "day")
|
x |
a vector of times or a daily sequence of dates |
unit |
time/date unit of vector x |
a list of class 'time' with all the required parameters for the decline_predict() S3 methods
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | decline_time_1 <- decline_time(c(1:730), unit = "day")
decline_time_1
decline_time_2 <- decline_time(c(1:240), unit = "month")
decline_time_2
decline_time_3 <- decline_time(c(1:15), unit = "year")
decline_time_3
decline_time_4 <- decline_time(seq(as.Date("2020/1/1"), by = "days",
length.out = 360), unit = "date")
decline_time_4
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.