View source: R/utils-optimization.R
drop_fn_params | R Documentation |
Drop parameters from a function and replace them with constants inside the function body.
drop_fn_params(fn, args)
fn |
|
args |
|
function
A new non-primitize function with the parameters named in
args
deleted and their values fixed with the values from args
in the
function body.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.