Description Usage Arguments Value
This function is useful to set unlikely values to NA.
1 | set_one_col_to_na(df, variable, indices)
|
df |
A data frame |
variable |
A character vector of the variable to work on. |
indices |
An atomic vector of 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.