getarg | R Documentation |
A convenience function providing flexibility in specification of function arguments.
getarg(V)
V |
A variable list specified in any of the ways specified above. |
The function returns a character-vector of argument names for an input name that can have any of these forms: getarg(c(ATX, DPXC)), getarg(names(Data)), getarg(names(Data)[2:3]), getarg(nm[2:4]), getarg(ATX), getarg('ATX'), getarg(c('ATX', 'PSXC')), getarg(c(ATX)). If called with argument Data$ATX, returns c('Data', 'ATX'); for Data[ir, ATX], returns c('Data', 'ir', 'ATX'). These forms are used in some Ranadu functions, notably VSpec(), for more flexibility in the arguments that can be supplied.
William Cooper
getarg(c(RTH1, RTH2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.