subst_parenth: Substitute "(xxx)" by *_xxx"

View source: R/subst_parenth.R

subst_parenthR Documentation

Substitute "(xxx)" by *_xxx"

Description

Substitute "(xxx)" by *_xxx" in case the user give names with parenthesis while they are transformed by R in _

Usage

subst_parenth(var_names)

Arguments

var_names

Vector of strings to transform

Value

Vector of transformed strings

Examples

var_names <- c("var1", "var2(n)")
CroPlotR:::subst_parenth(var_names)


SticsRPacks/CroPloteR documentation built on April 1, 2024, 9:25 a.m.