chmStringopFunction: Get Javascript function name for performing a specific string...

View source: R/zzz.R

chmStringopFunctionR Documentation

Get Javascript function name for performing a specific string operation on each element of a string vector.

Description

This function returns the name of a Javascript function thats accepts a string vector as its parameter, and for each string in the vector performs the operation stringop on the string. Stringop must be valid Javascript code that can be appended to a string value. The function returns a vector of the resulting strings.

Usage

chmStringopFunction(stringop)

Arguments

stringop

A javascript code fragment that can be applied to a string to yield another string.

Details

The name of the function returned for a specific stringop will be constant within an R session, but may differ between R sessions (or if this library is unloaded and reloaded).

Value

A character string specifying the name of the new function.

See Also

chmGetFunction()

chmFieldAccessFunction()


MD-Anderson-Bioinformatics/NGCHM-R documentation built on April 1, 2024, 12:34 p.m.