wargs {dostats} | R Documentation |
Call with arguments
wargs(f, ..., args = pairlist(...), envir = parent.frame())
f |
a function |
... |
extra arguments |
args |
alternate way to provide arguments as a pairlist. |
envir |
environment to use for the function. |
a function that takes 1 argument and calls f with the
single argument and the additional ...
appended.
mean2 <- wargs(mean, na.rm=TRUE)