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

Description Usage Arguments

View source: R/mutate_new_cols_if_not_exist.R

Description

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

Usage

1
mutate_new_cols_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 "".


patelm9/somersault2 documentation built on Dec. 16, 2019, 12:45 a.m.