add_model: Add model elements to stan model

Description Usage Arguments Examples

View source: R/stan-model.R

Description

Introduce a model element to stan model

Usage

1
add_model(stan_model, string)

Arguments

stan_model

A object of class 'stan_model'

string

model element in text

Examples

1
2
stan_model <- create_stan_model()
add_model(stan_model, string = 'y ~ normal(0,1)')

duarteguilherme/stanutils documentation built on Dec. 23, 2019, 6:30 p.m.