Helper function: plot cor and regression outputs
.plot_cor(
data,
ci = TRUE,
base = NULL,
limits = NULL,
title = NULL,
label = NULL
)
A ggplot object.
Dataframe with the columns item and value. To plot errorbars, add the columns low and high and set the ci-paramater to TRUE.
Whether to plot confidence intervals. Provide the columns low and high in data.
The plot base as character or NULL.
The scale limits.
The plot title as character or NULL.
The y axis label.