Learn R Programming

biovizBase (version 1.20.0)

subsetArgsByFormals: 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.

Examples

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

Run the code above in your browser using DataLab