remove_all_dk: Removes "Do not know" and other similar words from factor...

Description Usage Arguments Value See Also

Description

Removes "Do not know" and other similar words from factor levels in data frame

Usage

1
  remove_all_dk(x, dk = NULL)

Arguments

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")

Value

A data frame

See Also

has_dk and remove_dk


andrie/surveyortools documentation built on May 10, 2019, 11:42 a.m.