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

Description Usage Arguments Details See Also

View source: R/zzz.R

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

1
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 Aug. 8, 2017, 5:17 p.m.