Description Usage Arguments Value
This function is useful to set unlikely values to NA.
1 | set_cols_to_na(df, variables, list_indices)
|
df |
A data frame |
variables |
A character vector of the variables to work on. Ideally returned from validate::variables(validator_object) |
list_indices |
A list indices to set to NA. |
The original data frame with NAs at the right places.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.