Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expose_functions.brmsfit

Expose user-defined Stan functions


Description

Export user-defined Stan function and optionally vectorize them. For more details see expose_stan_functions.

Usage

## S3 method for class 'brmsfit'
expose_functions(x, vectorize = FALSE, env = globalenv(), ...)

expose_functions(x, ...)

Arguments

x

An object of class brmsfit.

vectorize

Logical; Indicates if the exposed functions should be vectorized via Vectorize. Defaults to FALSE.

env

Environment where the functions should be made available. Defaults to the global environment.

...

Further arguments passed to expose_stan_functions.


brms

Bayesian Regression Models using 'Stan'

v2.15.0
GPL-2
Authors
Paul-Christian Bürkner [aut, cre], Jonah Gabry [ctb], Sebastian Weber [ctb], Andrew Johnson [ctb], Martin Modrak [ctb]
Initial release
2021-03-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.