mutate_if_not_exist: Adds a column if it doesn't exist in the dataframe

Description Usage Arguments

Description

Adds a column if it doesn't exist in the dataframe

Usage

1
mutate_if_not_exist(dataframe, column_name, value = "")

Arguments

column_name

character string of new column name

value

character vector of length 1 of the new value. Defaults to "".


meerapatelmd/rubix documentation built on Sept. 5, 2021, 8:30 p.m.