View source: R/plot_comparations.R
| plot.comparaciones | R Documentation |
Generic plot for multiple-comparison tests (with multcompView letters) v2.0.1
## S3 method for class 'comparaciones'
plot(
x,
alpha = 0.05,
p_column = c("auto", "p_ajustada", "p_value", "p"),
horizontal = FALSE,
fill = "steelblue",
label_size = 5,
label_color = "black",
angle_x = 45,
show_se = FALSE,
se_type = c("se", "ci95"),
pad_frac = 0.35,
errorbar_width = 0.2,
...
)
x |
An object of class |
alpha |
Significance threshold for the letters (default 0.05). |
p_column |
Which p-value column: "auto","p_ajustada","p_value","p". |
horizontal |
If TRUE, draw horizontal bars. |
fill |
Bar fill color. |
label_size |
Letter size. |
label_color |
Letter color. |
angle_x |
Angle of x-axis labels (if |
show_se |
If TRUE and |
se_type |
"se" (default) or "ci95". |
pad_frac |
Fraction of y-span used to place letters (default 0.35). |
errorbar_width |
Width of errorbar whiskers. |
... |
Not used. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.