View source: R/utils-optimization.R
is_optim_compatible | R Documentation |
stats::optim
.Functions compatible with optim
have the parameter named par
as their
first formal argument where each value is a respective free parameter to
be optimized.
is_optim_compatible(fn)
fn |
|
logical(1)
TRUE
if the first value of formalArg(fn)
is "par",
otherwise FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.