| nona | R Documentation |
Converts NAs to 0s
nona(vec = NULL)
vec |
Required. Character or Numeric vector. |
Character vector.
x <- c(NA, 1, 0); nona(x)
x <- c(NA, "dk", 0); nona(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.