search for: tp305907

Displaying 1 result from an estimated 1 matches for "tp305907".

Did you mean: 14305907
2010 Nov 25
6
help: program efficiency
...ter way to do it? nodup = function(t) { t.index=0 t.dup=duplicated(t) for (i in 2:length(t)) { if (t.dup[i]==T) t.index=t.index+0.01 else t.index=0 t[i]=t[i]+t.index } return(t) } -- View this message in context: http://r.789695.n4.nabble.com/help-program-efficiency-tp3059079p3059079.html Sent from the R help mailing list archive at Nabble.com.