subsetArgsByFormals {biovizBase} | R Documentation |
find arguments matched by formals of passed functions,
subsetArgsByFormals(args, ..., remove.dots = TRUE)
args |
list of arguments with names indicate the formals. |
... |
functions used to parse formals. |
remove.dots |
logical value indicate whether to include dots in formals or not. |
argumnets that matched with passed function.
Tengfei Yin
args <- list(x = 1:3, simplify = TRUE, b = "b") subsetArgsByFormals(args, plot, sapply)