[R] difference between successive values

catalin roibu catalinroibu at gmail.com
Fri Mar 4 12:22:07 CET 2016


Dear all!

I want to calculate difference between successive values (cumulative
values) with R. I used diff function, but I want to keep the first values.

Please help me to solve this problem!

Thank you!

Best regards!

CR

-- 

-
-
Catalin-Constantin ROIBU
​
Lecturer PhD, Forestry engineer
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone      +4 0230 52 29 78, ext. 531
mobile phone    +4 0745 53 18 01
FAX:                +4 0230 52 16 64
silvic.usv.ro <http://www.usv.ro/>

	[[alternative HTML version deleted]]



More information about the R-help mailing list