paired_plot | R Documentation |
Produce a paired plot that represents the value of a numeric variable in the same individual before and after some treatment
paired_plot(
data,
y_var,
group,
direction = "horizontal",
test = "paired",
map_signif_level = TRUE,
y_limits = c(-1, 1),
trend_statistic = TREND_STATISTIC,
error_statistic = ERROR_STATISTIC,
colors = NULL,
y_annotation = NULL,
x_annotation = 1.5,
text_hjust = 0.5,
y_annotation_n = -1,
text_y_size = TEXT_SIZE,
title_y_size = TITLE_SIZE,
starsize = STARSIZE,
textsize = N_TEXT_SIZE,
y_step = 0.5,
expansion_y_bottom = EXPANSION_Y_BOTTOM,
expansion_y_top = EXPANSION_Y_TOP,
distribution_color = DISTRIBUTION_COLOR,
linewidth = LINEWIDTH,
point_size = POINT_SIZE,
linewidth_mean = LINEWIDTH_MEAN,
point_size_mean = POINT_SIZE_MEAN,
family = FONT,
vjust = VJUST,
angle_n = 45,
text_vjust = 0,
offset = 0,
correction = NULL,
group_levels = NULL,
drop = FALSE,
alternative = "greater",
y_label = NULL,
n_y_ticks = NULL
)
data |
Data frame with columns:
|
group |
A column in the data frame data, see argument data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.