| add_rstan_model {brms} | R Documentation |
brmsfit objectsCompile a stanmodel and add
it to a brmsfit object. This enables some advanced functionality
of rstan, most notably log_prob
and friends, to be used with brms models fitted with other Stan backends.
add_rstan_model(x, overwrite = FALSE)
x |
A |
overwrite |
Logical. If |
A (possibly updated) brmsfit object.