Learn R Programming

wrappedtools (version 0.9.7)

bt: Add backticks to names or remove them

Description

bt adds leading and trailing backticks to make illegal variable names usable. Optionally removes them.

Usage

bt(x, remove = FALSE)

Value

Character vector with backticks added.

Arguments

x

Names to add backtick to.

remove

Option to remove existing backticks, default=FALSE.

Examples

Run this code
bt('name 1')

Run the code above in your browser using DataLab