Recompile the Stan model inside a brmsfit object, if necessary.
This does not change the model, it simply recreates the executable
so that sampling is possible again.
Arguments
- x
An object of class
brmsfit.- recompile
Logical, indicating whether the Stan model should be recompiled. If
NULL(the default),recompile_modeltries to figure out internally, if recompilation is necessary. Setting it toFALSEwill causerecompile_modelto always return thebrmsfitobject unchanged.