get_stan_model: Get Compiled Stan Object

View source: R/utilities.R

get_stan_modelR Documentation

Get Compiled Stan Object

Description

Gets a compiled Stan object that can be used with rstan::sampling(), based on the choice of the covariance structure and the prior on the parameters.

Usage

get_stan_model(covariance, prior_cov)

Arguments

covariance

A string indicating the covariance structure to be used.

prior_cov

A string indicating the prior on the covariance parameters.

Value

The compiled Stan model object.


rbmi documentation built on Nov. 5, 2025, 7:30 p.m.