Skip to content
Prev 387078 / 398502 Next

dependent nested for loops in R

Or perhaps: 

W <- 1:2000
W[z>4|z<2] <- 0

Sent from my iPhone