chmFieldAccessFunction: Get Javascript function name for accessing a specific string...

chmFieldAccessFunctionR Documentation

Get Javascript function name for accessing a specific string field in each element of 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 splits the string into fields separated by fieldsep, and accesses field idx (zero origin). The function returns a vector of these fields.

Usage

chmFieldAccessFunction(fieldsep, idx)

Arguments

fieldsep

The string that separates fields in the strings of the input vector.

idx

The index (zero origin) of the field the function should extract.

Details

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

See Also

chmGetFunction()

chmStringopFunction()


bmbroom/NGCHMR documentation built on April 18, 2022, 6:52 p.m.