eval_init_one_param: Helper function for 'eval_init_one_param'

View source: R/model-util.R

eval_init_one_paramR Documentation

Helper function for eval_init_one_param

Description

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.


maomlab/BayesPharma documentation built on Aug. 24, 2024, 8:45 a.m.