This function completes the control options list for Bayesian methods by setting the number of iterations, refresh rate, and initial values based on the provided arguments.
complete_control_bayes(
control,
n_samples,
quiet,
stan_data,
mmrm_initial,
covariance,
prior_cov
)
A completed control options list with the necessary parameters for Bayesian sampling.
A list containing part of the control options. Must not contain
iter
, refresh
, object
, data
, or pars
.
Number of samples to be drawn.
A logical indicating whether to suppress output during sampling.
A list containing the Stan data.
A list containing the initial values from the MMRM.
A character string indicating the type of covariance structure.
A character string indicating the type of prior for the covariance parameters.