pairs_posterior | R Documentation |
Plots within-chain parameter correlations (upper triangle) and corresponding scatterplots (lower triangle) to visualize parameter sloppiness.
pairs_posterior(
emc,
selection = "alpha",
scale_subjects = TRUE,
do_plot = TRUE,
N = 500,
...
)
emc |
An emc object |
selection |
A Character string. Indicates which parameter type to
plot ( |
scale_subjects |
Boolean. To standardize each participant with |
do_plot |
Boolean. Whether to plot the pairs plot, if |
N |
Integer for maximum number of iterations used (defaults to 500). If number of samples in stage or selection exceeds N, a random subset will be taken of size N |
... |
Optional arguments that can be passed to |
If selection = alpha
the parameter chains are concatenated across participants,
(after standardizing if scale_subjects = TRUE
) and then correlated.
Invisibly returns a matrix with the correlations between the parameters.
# Plot the sloppiness for the individual-level subjects
pairs_posterior(samples_LNR, selection = "alpha")
# We can also choose group-level parameters and subsets of the parameter space
pairs_posterior(samples_LNR, use_par = c("m", "t0"), selection = "sigma2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.