Does the correlations between left and right vars using corr.test Then plots a vertical graph with correlations confidence intervals.
1 2 3 4 | plot_correlation_ci(data, left_vars, right_vars, .adjust = "holm",
.method = "spearman", .xlab = "Correlations CI",
.ylab = "Left variables", .labels_left = NULL,
.right_var_legend_name = NULL, ...)
|
data |
data.frame contains all the columns to correlate |
left_vars |
character contains the variable names to plot on the left |
right_vars |
character contains the variable names to plot on the right (nested) |
.adjust |
character adjust procedure default to holm (see corr.test) |
.method |
character statistical method default to spearman |
.xlab |
character x label name |
.ylab |
character y label name (left variables) |
.right_var_legend_name |
character name for the right_variable legend |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.