Skip to content
Prev 304033 / 398506 Next

updating elements of a vector sequentially - is there a faster way?

Hi

Well, I am not sure if this is what you want but same result can be achieved by

vec1 <- (probs>=p00)*(probs>=p10)

Petr