mutate_batch: Mutate multiple columns at once with same value

Description Usage Arguments

View source: R/xlsform_functions.R

Description

mutating batch columns allows programmic creation of columns based on an input vector or list. This was developed to add on new variables to a xlsform data set which can then be systematically added to the the xlsform tool

Usage

1
mutate_batch(df, nm, value = NA)

Arguments

df

dataframe

names

names of columns to mutate

values

uniform values to mutate


zackarno/butteR documentation built on May 8, 2021, 4:50 p.m.