Learn R Programming

wrapr (version 1.1.1)

restrictToNameAssignments: Restrict an alias mapping list to things that look like name assignments

Description

Restrict an alias mapping list to things that look like name assignments

Usage

restrictToNameAssignments(alias, restrictToAllCaps = FALSE)

Arguments

alias

mapping list

restrictToAllCaps

logical, if true only use all-capitalized keys

Value

string to string mapping

Examples

Run this code
# NOT RUN {
alias <- list(region= 'east', str= "'seven'")
aliasR <- restrictToNameAssignments(alias)
print(aliasR)


# }

Run the code above in your browser using DataLab