View source: R/factor_analysis.R
plot_relations | R Documentation |
An adjusted version of the corrplot
package function corrplot()
tailored
to EMC2
and the plotting of estimated correlations.
plot_relations(
emc = NULL,
stage = "sample",
plot_cred = TRUE,
plot_means = TRUE,
only_cred = FALSE,
nice_names = NULL,
...
)
emc |
An EMC2 object, commonly the output of |
stage |
Character. The stage from which to take the samples, defaults to
the sampling stage |
plot_cred |
Boolean. Whether to plot the 95 percent credible intervals or not |
plot_means |
Boolean. Whether to plot the means or not |
only_cred |
Boolean. Whether to only plot credible values |
nice_names |
Character string. Alternative names to give the parameters |
... |
Optional additional arguments |
No return value, creates a plot of group-level relations
# For a given set of hierarchical model samples we can make a
# correlation matrix plot.
plot_relations(samples_LNR, only_cred = TRUE, plot_cred = TRUE)
# We can also only plot the correlations where the credible interval does not include zero
plot_relations(samples_LNR, plot_means = TRUE, only_cred = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.