View source: R/builder_functions.R
build_uniparam_fn | R Documentation |
If fn
is NULL
, get_prefixed_dist_fn will be called to get an function.
This is then converted to a uniparameter-friendly version that calls build_uniparam_args
internally so it can then call do.call.
build_uniparam_fn(prefix, dist_name, fn = NULL)
prefix |
The prefix (generally one of |
dist_name |
The name of the distribution. |
fn |
If not |
A uniparameter version of the input function.
uniparam_pnorm <- build_uniparam_fn("p", "norm")
uniparam_pnorm(0, list(mean = 0, sd = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.