subsetArgsByFormals {biovizBase}R Documentation

Subset list of arguments by functions

Description

find arguments matched by formals of passed functions,

Usage

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

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

[Package biovizBase version 1.30.1 Index]