Skip to content
Prev 170074 / 398506 Next

Question about apply()

See ?diff.zoo

dif <- diff(data, arithmetic = FALSE) - 1
cbind(data, dif)
On Wed, Feb 11, 2009 at 6:21 AM, Sergey Goriatchev <sergeyg at gmail.com> wrote: