Required attributes of the input time series are:
series_type- "rate" or "level"method- "percentage", "diff_log", "none", or an expression
Usage
rate(x, ...)
# S3 method for class 'ts'
rate(x, ...)
# S3 method for class 'list'
rate(x, ...)
# S3 method for class 'mts'
rate(x, ...)Examples
x <- ets(1:10, series_type = "level", method = "diff_log")
rate(x)
#> <koma_ts>
#> attributes:
#> series_type: chr "rate"
#> method: chr "diff_log"
#> anker: num [1:2] 1 1
#>
#> series:
#> Time Series:
#> Start = 2
#> End = 10
#> Frequency = 1
#> [1] 69.31472 40.54651 28.76821 22.31436 18.23216 15.41507 13.35314 11.77830
#> [9] 10.53605