This function is used by complete_control_bayes()
when the init
argument is set to "mmrm"
.
prepare_init_vals(stan_data, mmrm_initial, chains, covariance, prior_cov)
A list of initial values for the MCMC sampler.
A list containing the Stan data.
A list containing the initial values from the MMRM, including attribute cov_param_names
specifying the names of the covariance parameters.
The number of chains.
A character string indicating the type of covariance structure.
A character string indicating the type of prior for the covariance parameters.