Nothing
Code
rule(a = "1", b = NA)
Output
Mapping of:
a <- "1"
b <- <NA>
Convert to <NA>: ""
Convert to factor: TRUE
Drop unused level: FALSE
NA-replacing level in last position: TRUE
Code
rule(a = "1", b = c(NA, "b"), x = c("first", "second"), .to_NA = c("",
"missing"))
Output
Mapping of:
a <- "1"
b <- <NA>, "b"
x <- "first", "second"
Convert to <NA>: "", "missing"
Convert to factor: TRUE
Drop unused level: FALSE
NA-replacing level in last position: TRUE
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.