example_stan: Example stan model and data

Description Usage Arguments Value Examples

Description

Example stan model and data

Usage

1
example_stan(n = 30, seed = NULL, data_only = FALSE)

Arguments

n

sample size per group

seed

seed value to get same data samples

data_only

return only the data without fitting the model

Value

list(data, pars, inits, model, fit)

Examples

1
stan_ex <- example_stan(seed=19851905)

iamamutt/rbaes documentation built on May 18, 2019, 1:27 a.m.