SBC_backend_brms: Build a backend based on the 'brms' package.

View source: R/backend-brms.R

SBC_backend_brmsR Documentation

Build a backend based on the brms package.

Description

Build a backend based on the brms package.

Usage

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


hyunjimoon/SBC documentation built on March 15, 2024, 3:18 a.m.