View source: R/builder_functions.R
build_uniparam_args | R Documentation |
In general params will be a list returned by an estimation function, so just tack the x argument on the front for do.call purposes later. However sometimes the params may be a bespoke object of some kind, e.g. the result of calling ghyp() from the ghyp package, and needs to be wrapped in a list.
build_uniparam_args(x, params)
x |
The non-parameter element of the arguments (e.g. |
params |
The parameters. |
A list consisting of x
and params
in a format suitable for passing to do.call
.
build_uniparam_args(1:10, list(mean = 0, sd = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.