hasArg2 | R Documentation |
This function is identical to hasArg
, except that
it accepts the argument name as a character string.
This avoids to have a check NOTE about invisible binding variable.
hasArg2(name)
name |
the name of an argument as a character string. |
A logical flag.
f <- function(...){ hasArg2('abc') }
f(a=1)
f(abc=1)
f(b=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.