create.variable.name: Create variable name from string.

Description Usage Arguments Value Examples

Description

This function creates a sensible variable name by replacing all non-alphanumeric characters with underscores. This is useful when the string is to be used as a the name of a list element.

Usage

1

Arguments

s

The string to be used as a variable name

Value

The string with non-alphanumeric characters replaced by underscores

Examples

1
2
s <- "a-b"
edf:::create.variable.name(s)


Search within the edf package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.