Description Usage Arguments Value See Also
Removes "Do not know" and other similar words from factor levels in data frame
1 | remove_all_dk(x, dk = NULL)
|
x |
List or data frame |
dk |
Character vector, containing search terms, e.g. c("Do not know", "DK"). These terms will be replaced by NA. If NULL, will default to c("I don't know", "Don't Know", "Don't know", "Dont know" , "DK") |
A data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.