Learn R Programming

ProjectTemplate (version 0.3-4)

clean.variable.name: Produce a standardized R variable names.

Description

clean.variable.name() produces a valid R variable that satisfies ProjectTemplate conventions.

Usage

clean.variable.name(variable.name)

Arguments

variable.name
A character vector containing a variable's proposed name that should be standardized.

Value

  • Returns a character vector containing the standardized variable name.

Examples

Run this code
library('ProjectTemplate')

clean.variable.name('project_name')

Run the code above in your browser using DataLab