replace_na | R Documentation |
Replace a NA value
replace_na(x, na_value)
x |
A vector |
na_nalue |
A single value, that will replace NA values |
A numeric value
replace_na(c(2,2,NA,NA,NA),1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.