Learn R Programming

wrapr (version 2.1.0)

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

Description

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

Usage

map_upper(...)

Value

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

Arguments

...

symbol names mapping to string scalars

See Also

let

Examples

Run this code

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

Run the code above in your browser using DataLab