powered by
Call with arguments
wargs(f, ..., args = pairlist(...), envir = parent.frame())
a function
extra arguments
alternate way to provide arguments as a pairlist.
environment to use for the function.
a function that takes 1 argument and calls f with the single argument and the additional ... appended.
...
# NOT RUN { mean2 <- wargs(mean, na.rm=TRUE) # }
Run the code above in your browser using DataLab