NA2x {lava} | R Documentation |
Convert vector to/from NA
NA2x(s, x = 0)
s |
The input vector (of arbitrary class) |
x |
The elements to transform into |
A vector with same dimension and class as s
.
Klaus K. Holst
##' x2NA(1:10, 1:5) NA2x(x2NA(c(1:10),5),5)##'