powered by
Returns TRUE if x contains any instances of dk
hasDK(x, dk = "Don't Know")
Character vector or factor
Character vector, containing search terms, e.g. c("Don't know", "Don't Know")
c("Don't know", "Don't Know")
TRUE or FALSE
Other Functions to clean data: encToInt, fixCommonEncodingProblems, fixLevels01R, fixLevels01SPSS, fixLevels01, intToEnc, leveltestR, leveltestSPSS, removeAllDK, removeDK
encToInt
fixCommonEncodingProblems
fixLevels01R
fixLevels01SPSS
fixLevels01
intToEnc
leveltestR
leveltestSPSS
removeAllDK
removeDK