Build a backend based on the brms package.

SBC_backend_brms(
  ...,
  template_data,
  out_stan_file = NULL,
  template_dataset = NULL
)

Arguments

...

arguments passed to brm.

template_data

a representative value for the data argument in brm that can be used to generate code.

out_stan_file

A filename for the generated Stan code. Useful for debugging and for avoiding unnecessary recompilations.

template_dataset

DEPRECATED. Use template_data