replace_na_with_blank | R Documentation |
Used to swap in "" for by variables so the headers sort correctly to the top
replace_na_with_blank(x)
x |
variable to check for NA and replace with "". |
x with NA's replaced with "". Factors will add "" as the first level.
replace_na_with_blank(c("a", "b", NA))
replace_na_with_blank(factor(c("a", "b", NA), levels = c("a", "b")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.