Description Usage Arguments Value
View source: R/fit_mvnorm_hier.R
Fit a hierarchical multivariate model to data
1 2 3 4 |
dat |
Input data, as a |
groups |
A character, integer, or factor of group labels, with length
|
niter |
Number of iterations per attempt fitting attempt. |
priors |
Named list of prior overrides. See |
inits |
Named list of initial conditions |
nchains |
Number of chains (default = 3) |
autofit |
(Logical) If |
max_attempts |
Maximum number of attempts for |
keep_samples |
Maximum number of samples to keep in results (default = Inf) |
threshold |
Gelman PSRF threshold for convergence (default = 1.15) |
save_progress |
If not |
progress |
(Logical) If |
List containing a tidy summary table of the fitted parameters
(summary_table
), a list of the summary statistics (stats
), and the raw
MCMC samples as an mcmc.list
(samples
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.