nvl | R Documentation |
Replaces all no-value options with a specified replacement.
nvl(x, value = 0)
x |
Vector to clean of any class. |
value |
Replacement value to substitute. |
Cleaned vector.
nvl(c(NA, NaN, Inf, -Inf, NA_character_, NA_real_, NA_complex_, NA_integer_), 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.