diff
Missing values are not handled.
intgrt <- function (x, lag = 1, differences = 1, xi = rep(0.0,lag*differences*dim(as.matrix(x))[2]))
x
intgrt
"ts"
default
s <- 1:10 d <- diff(s) intgrt(d,xi=1)
Run the code above in your browser using DataLab