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/CroPlotR documentation built on March 1, 2025, 2:24 p.m.