| remove_all_dont_know | R Documentation |
Removes "Do not know" and other similar words from factor levels in data frame
remove_all_dont_know(x, dk = NULL, message = TRUE)
x |
List or data frame |
dk |
Character vector, containing search terms, e.g. |
message |
If TRUE, displays message with the number of instances that were removed. |
A data frame
hasDK() and removeDK()
Other Functions to clean data:
encToInt(),
fix_common_encoding_problems(),
fix_levels_01_spss(),
has_dont_know(),
intToEnc(),
leveltest,
remove_dont_know()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.