Skip to contents

Run STAN MCMC

Usage

stan(proj, init = NULL, chains = 1, pred = T, ...)

Arguments

proj

fastan::project object.

init

initial value, default = NULL, if NULL fastan::init is called.

chains

integer, default = 1, number of MCMC chains.

pred

logical, default = TRUE, TRUE if the predictions should be made, FALSE if otherwise.

...

arguments that will be passed to rstan::stan.

Value

rstan::stanfit object.