Description Usage Arguments Value
Convenience function for extracting p-values from result lists as returned by
test_wilcoxon_for_groups
or test_friedman
. The result is vector with the
group names as names and can be used by ggplot_annotate_signif
.
1 2 3 | ggplot_annotate_signif(data, x, y, p_values, label = "stars",
margin = 1, static_y = TRUE, steps = eenv_signif_steps,
font_face = "plain", font_size = eenv_theme[[1]]$text$size)
|
data |
A tibble containing the data. |
x |
The column used for the x-axis. |
y |
The column used for the y-axis. |
p_values |
A vector containing p-values, the name marks the corresponding x. |
label |
Either "stars" or "p-values". |
margin |
The distance above the highest y at x in units of y. |
static_y |
Use the maximum y + margin for all x. |
steps |
If |
font_face |
The font face used for the labels ("plain"|"bold"|"italic"| "bold.italic") |
font_size |
The font size in points. |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.