clean_data_help | R Documentation |
This family of functions clean a data frame.
clean_data_help()
clean_data(x, clear = TRUE)
clean_select(x, clear = TRUE, .log = F)
clean_rename(x, clear = TRUE)
clean_recode(x, clear = TRUE)
clean_remode(x, clear = TRUE)
clean_na(x, clear = TRUE)
x |
A data frame. |
clear |
A logical scalar indicating whether to clear the console at the start of each data cleaning step. |
A data frame.
clean_data()
: Clean a data frame by selecting variables to retain, optionally renaming variables, optionally recoding NA
and other values, optionally coercing variables to a specific mode, and optionally dropping cases with NA
values.
clean_select()
: Select variables from a data frame to be retained.
clean_rename()
: Optionally rename variables in a data frame.
clean_recode()
: Optionally recode NA
and other values of variables.
clean_remode()
: Optionally coerce variables in a data frame to a specific mode.
clean_na()
: Optionally drop cases with NA
values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.