Description Usage Arguments Value See Also
Tests the levels of x contain any instances of "Don't know". If so, replaces these levels with NA
1 | remove_dk(x, dk = "Don't Know")
|
x |
Vector or Factor |
dk |
Character vector, containing search terms, e.g. c("Don't know", "Don't Know") |
A factor with "Dont know" removed
has_dk
and remove_all_dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.