ReplaceSpecialChars: Standardize names

View source: R/utils.R

ReplaceSpecialCharsR Documentation

Standardize names

Description

Replace ".", ' ', '-' in character() by '_' to be compliant with functions of Shinyjs, Shiny

Usage

ReplaceSpecialChars(x)

Arguments

x

A character() to be processed

Value

A character() of the same length as 'x' with modified names.

Author(s)

Samuel Wieczorek

Examples


ReplaceSpecialChars(c("foo.1", "foo-2", "foo 3"))


samWieczorek/Dapar2 documentation built on Oct. 12, 2023, 9:54 a.m.