Skip to content
Prev 294780 / 398502 Next

replacing with NA

x[is.na(z)] <- NA

This might send you a nasty bug if x and z are different lengths
though -- just a head's up.

Michael

On Wed, May 16, 2012 at 12:55 PM, Mintewab Bezabih
<Mintewab.Bezabih at economics.gu.se> wrote: