| adjust_dimensions | R Documentation |
This function adjusts the dimensions of prior parameters based on whether
the same covariance structure is used for all groups, and whether the parameters
are lists of matrices or numeric vectors. This is really only necessary to deal with
some peculiarities of how Stan handles arrays and vectors. See prepare_prior_params()
where this is used.
adjust_dimensions(same_cov, param_list)
same_cov |
A logical indicating whether the same covariance structure is used for all groups.
If |
param_list |
A list of parameters, which can be matrices or numeric vectors. Note that this
contains one element for each group, independent of |
The parameters adjusted to the appropriate dimensions for Stan.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.