prep_stan_model_code: Prepare the model-code for a stan model

Description Usage Arguments Value

View source: R/stan-bsts.R

Description

Prepare the model-code for a stan model

Usage

1
prep_stan_model_code(params, priors, family, extras)

Arguments

params

A character-vector of parameter-names

priors

Their priors

family

The family of the response

extras

Extra code-chunks to insert.

Value

A character that can be passed to rstan::stan_model(model_code = )


strongio/stronger documentation built on Sept. 15, 2017, 3:54 p.m.