What's the R way of doing (in Python numpy)
np.where(b > 0, a, a+1)
for equal length numeric vectors a and b?
a
b
I think:
ifelse(b > 0, a, a+1)
?