subsetArgsByFormals: Subset list of arguments by functions

Description Usage Arguments Value Author(s) Examples

Description

find arguments matched by formals of passed functions,

Usage

1
subsetArgsByFormals(args, ..., remove.dots = TRUE)

Arguments

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.

Value

argumnets that matched with passed function.

Author(s)

Tengfei Yin

Examples

1
2
args <- list(x = 1:3, simplify = TRUE, b = "b")
subsetArgsByFormals(args, plot, sapply)

jotsetung/biovizBase documentation built on May 31, 2019, 11:43 p.m.