Compile 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.
Arguments
- x
A
brmsfitobject to be updated.- overwrite
Logical. If
TRUE, overwrite any existingstanmodel. Defaults toFALSE.