add_prefix_to_columns: Helper Method to add a prefix to all columns (which are not...

Description Usage Arguments Value Examples

View source: R/main.R

Description

Helper Method to add a prefix to all columns (which are not excluded)

Usage

1
add_prefix_to_columns(data, prefix, ignored_column_names)

Arguments

data

data.frame with columns

prefix

string prefix to be added

ignored_column_names

list columns to be ignored

Value

data.frame with renamed columns

Examples

1
data <- add_prefix_to_columns(data, "prefix", c("id"))

tud-ise/wellbeing-study-helper documentation built on Dec. 23, 2021, 1:02 p.m.