rename_cols: Rename column names

Description Usage Arguments

View source: R/functions.R

Description

Rename non-key variables in a list of variable names if they appear multiple times in the list of variable names.

Usage

1
rename_cols(name_list, all_list = name_list, key_list)

Arguments

name_list

A list of variable names.

all_list

A larger list of variable names.

key_list

A list of identifier names. These should not be renamed.


biostatUniBS/RDataXMan documentation built on Feb. 2, 2021, 9:41 a.m.