Skip to content
Prev 294856 / 398502 Next

replacing with NA

Another option
x*!is.na(z)*z

Regards
Petr
NA, 12, 10)

            
know
to
http://www.R-project.org/posting-guide.html
http://www.R-project.org/posting-guide.html