Description Usage Arguments Details Value Author(s) See Also Examples
Get the value of an named argument with the given position
1 |
opt |
name of the argument to be parsed |
ind |
index of the argument to be parsed, starting from 1. |
default |
default values to be returned if the argument is not provided |
choices |
a character vector of accepted values; if a string outside the vector is provided, the function will stop and print error message |
The parsing is performed at C-level. If the argument accepts only one value, users can also call argGet(opt, default=NULL, choices=NULL)
A character string representing the value of the argument
Jitao David Zhang <jitao_david.zhang@roche.com>
argParse
, argGet
, and argPresent
1 | ## Not run: argGetPos("thresholds", ind=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.