Export user-defined Stan function and
optionally vectorize them. For more details see
expose_stan_functions.
# S3 method for brmsfit
expose_functions(x, vectorize = FALSE, env = globalenv(), ...)
expose_functions(x, ...)An object of class brmsfit.
Logical; Indicates if the exposed functions
should be vectorized via Vectorize.
Defaults to FALSE.
Environment where the functions should be made available. Defaults to the global environment.
Further arguments passed to
expose_stan_functions.