powered by
Convert vector to/from NA
NA2x(s, x = 0)
A vector with same dimension and class as s.
s
The input vector (of arbitrary class)
The elements to transform into NA resp. what to transform NA into.
NA
Klaus K. Holst
##' x2NA(1:10, 1:5) NA2x(x2NA(c(1:10),5),5)##'
Run the code above in your browser using DataLab