| to_brms | R Documentation |
Converts a BI (NumPyro MCMC) object into a compatible brmsfit object.
to_brms(
bi_fit,
formula = NULL,
data = NULL,
family = NULL,
par_map = NULL,
...
)
bi_fit |
The reticulate object returned by BI fitting. |
formula |
The brms formula for the model. Defaults to 'bi_fit$formula'. |
data |
The data used for fitting. Defaults to 'bi_fit$data'. |
family |
The family used. Defaults to 'bi_fit$family' or 'gaussian()'. |
par_map |
Optional list for custom naming: list(BI_name = brms_name). |
... |
Additional arguments passed to brms::brm(..., empty = TRUE). |
A brmsfit object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.