append_dummy_cols: Post-process data in 'wrapper_func()'

Description Usage Arguments Details Value

Description

Add dummy columns to data, if necessary.

Usage

1
append_dummy_cols(data = NULL, num_cols_expect = NULL, add = TRUE)

Arguments

data

data.frame.

num_cols_expect

numeric.

add

logical. whether or not to try to add a dummy column. Only applied if the difference between the expected and actual number of columns is 1 (where the expected is greater than the actual).

Details

To be used exclusively by wrapper_func().

Value

data.frame.


tonyelhabr/tetext documentation built on May 14, 2019, 8:03 a.m.