Description Usage Arguments Value Examples
View source: R/nona.R
Converts NAs to 0s
1
nona(vec = NULL)
vec
Required. Character or Numeric vector.
Character vector.
1 2
x <- c(NA, 1, 0); nona(x) x <- c(NA, "dk", 0); nona(x)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.