Displaying 1 result from an estimated 1 matches for "tp2196594p2196594".
2010 May 12
4
difference along a vector
...tion which would take the difference along a vector?
>a<-c(1,12,23,44,15,28,7,8,9,10)
if I set the number difference to 3 would return
43
2
5
-37
-7
-19
3
or do I need to write my own function for this.
--
View this message in context: http://r.789695.n4.nabble.com/difference-along-a-vector-tp2196594p2196594.html
Sent from the R help mailing list archive at Nabble.com.