Helper function for eval_init_one_param
Usage
eval_init_one_param(param_init, param_name, sdata)
Arguments
- param_init
array
, numeric
, or function
to initialize parameter
- param_name
character parameter name defined in the stan model
- sdata
list
generated by Stan for the model data info
Value
numeric
or array
. If the parameter is of the form b_<param>
then brms expects an array of dimension sdata$K_<param>
, otherwise
return a numeric
value.