View source: R/make-staninput.R
control_staninput | R Documentation |
This function is used to specify control parameters for the 'make_staninput()' function, and to provide reasonable defaults for any of the unspecified parameters.
control_staninput(
tau_scale = 5,
L_omega_eta = 1,
split_loglik_per_observation = 0,
transform_type = c("identity", "center", "standardize", "PCA whiten", "ZCA whiten")[3]
)
tau_scale |
A vector of scales for the Cauchy priors for each cue's standard deviations. Used in both the prior for m_0 and the prior for S_0. (default: vector of '5's, assuming that the data are standardized). |
L_omega_eta |
A vector of etas of the LKJ prior for the correlations of the covariance matrix of |
split_loglik_per_observation |
Optionally, split the log likelihood per observation. This can be helpful of leave-one-out estimation in order to avoid high Pareto k, but it also makes the stored stanfit object much larger. (default: '0') |
transform_type |
An affine transformation that can be applied to the data. See 'type' in |
A list of control parameters that can be passed to make_staninput
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.