Learn R Programming

rmdcev (version 1.2.0)

RunStanSampling: RunStanSampling

Description

Wrapper function for rstan:stan and rstan:sampling to run Stan Bayes analysis.

Usage

RunStanSampling(stan_data, stan.model, bayes_options, ...)

Arguments

stan_data

data for model

stan.model

Complied Stan model

bayes_options

list of Bayes options

...

Additional parameters to pass on to rstan::stan and rstan::sampling.

Value

A stanfit object.