View source: R/set_values_to_na.R
set_values_to_na | R Documentation |
Set -9 and 0s to NA for given columns
set_values_to_na(
df,
cols_neg9_to_na = NULL,
cols_zeros_to_na = NULL,
cols_neg_to_na = NULL
)
df |
A data.frame |
cols_neg9_to_na |
A vector of the column names for which -9 values will be set to NA |
cols_zeros_to_na |
A vector of the column names for which 0 will be set to NA |
cols_neg_to_na |
A vector of the column names for which any negative values will be set to NA |
Other clean column contents functions:
plot_map()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.