Displaying 1 result from an estimated 1 matches for "tp4240434p4240434".
2011 Dec 28
2
Loops and vector operations
...i-1]==1 || ES[i-1]==15)&& sprd[i]<media[i]) {ES[i] <- 15} else
if((ES[i-1]==1 || ES[i-1]==15)&& sprd[i]>=media[i]) {ES[i] <- 17}
else {ES[i] <-0}
}
Thanks a lot!!
--
View this message in context: http://r.789695.n4.nabble.com/Loops-and-vector-operations-tp4240434p4240434.html
Sent from the R help mailing list archive at Nabble.com.