Given a set of prior parameters and stan data, initialize the model near the center of the prior distribution
Source:R/initialization.R
get_inits_for_one_chain.Rd
Given a set of prior parameters and stan data, initialize the model near the center of the prior distribution
Arguments
- stan_data
a list of data elements that will be passed to stan
- stdev
a numeric value indicating the standard deviation to sample from when initializing, particularly from a standard normal. Also acts as a multiplier on the prior standard deviation, to restrict the initial value to be sampled from the center of the prior. Default is 0.01