powered by
diff
diffinv(x, ...)# S3 method for default diffinv(x, lag = 1, differences = 1, xi, …) # S3 method for ts diffinv(x, lag = 1, differences = 1, xi, …)
# S3 method for default diffinv(x, lag = 1, differences = 1, xi, …) # S3 method for ts diffinv(x, lag = 1, differences = 1, xi, …)
"ts"
x
diffinv
default
s <- 1:10 d <- diff(s) diffinv(d, xi = 1)
Run the code above in your browser using DataLab