map_upper: Map up-cased symbol names to referenced values if those...

Description Usage Arguments Value See Also Examples

View source: R/mapvars.R

Description

Map up-cased symbol names to referenced values if those values are string scalars (else throw).

Usage

1

Arguments

...

symbol names mapping to string scalars

Value

map from original symbol names to new names (names found in the current environment)

See Also

let

Examples

1
2
3
4
x <- 'a'
print(map_upper(x))
d <- data.frame(a = "a_val")
let(map_upper(x), paste(d$X, x))

WinVector/wrapr documentation built on Nov. 21, 2020, 8:31 p.m.