On Tue, 9 Mar 2010 05:37:52 -0800 (PST) ManInMoon <xmoon2000
@googlemail.com> wrote:
> How can I generate a vector of differences between each elemtn of an vector?

diff(x)

-- 
Karl Ove Hufthammer

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to