View source: R/mutate_new_cols_if_not_exist.R
Adds a column if it doesn't exist in the dataframe
1 | mutate_new_cols_if_not_exist(dataframe, column_name, value = "")
|
column_name |
character string of new column name |
value |
character vector of length 1 of the new value. Defaults to "". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.