replyr_reverseMap: Reverse a name assignment map (which are written...

Description Usage Arguments Value See Also Examples

View source: R/renameRestrictCols.R

Description

Reverse a name assignment map (which are written NEWNAME=OLDNAME).

Usage

1

Arguments

nmap

named list mapping with keys specifying new column names, and values as original column names.

Value

inverse map

See Also

let, replyr_apply_f_mapped, replyr_mapRestrictCols

Examples

1
2
3
mp <- c(A='x', B='y')
print(mp)
replyr_reverseMap(mp)

WinVector/replyr documentation built on Oct. 22, 2020, 8:07 p.m.