This function will execute the function f
on the subset of the names of l
which are in the formal arguments of f.
Examples
use_known_args(mean, list(x = 2, r = 3))
#> [1] 2
This function will execute the function f
on the subset of the names of l
which are in the formal arguments of f.
use_known_args(mean, list(x = 2, r = 3))
#> [1] 2