onlygoodargs: Generic function: remove all the elements of a named list...

Description Usage Arguments Details Value Examples

View source: R/SDPSyn.R

Description

Generic function: remove all the elements of a named list which names are not arguments of a specific function.

Usage

1
onlygoodargs(fun, L)

Arguments

fun

a function

L

a list

Details

remove all the elements of a list which names are not arguments of a specific function.

Value

a list.

Examples

1
onlygoodargs(lm,list(data=cars,formula=speed~dist,tutu="not an arg from lm"))

DanielBonnery/BigSyn documentation built on June 28, 2020, 7:18 p.m.