View source: R/data_manipulation_functions.R
replace_values_if_col_value_in_list | R Documentation |
Replace Values If Column Values In List This function replaces values in a list of columns, with a value, if a given column has a supllied value.
replace_values_if_col_value_in_list( data, column, lst, columns, replace_value = NA_character_ )
data |
A Tibble |
column |
A string which is a name of a column in the data to check the values in the lst |
lst |
A list of values to check the column against |
columns |
A list of strings that are column names. |
replace_value |
A value to replace |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.