powered by
diff
diffinv(x, ...) "diffinv"(x, lag = 1, differences = 1, xi, ...) "diffinv"(x, lag = 1, differences = 1, xi, ...)
"ts"
x
diffinv
default
Missing values are not handled.
s <- 1:10 d <- diff(s) diffinv(d, xi = 1)
Run the code above in your browser using DataLab