Description Usage Arguments Value Examples
convert vecter to NA
1 | na_x2na(s, x = 0)
|
s |
The input vector (of arbitrary class) |
x |
The elements to transform into NA resp. what to transform NA into |
A vector with same dimension and class as s
1 | na_x2na(1:10, 1:5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.