View source: R/functions_testing.R
plot_effect | R Documentation |
Plots effect size statistic and the adjusted significance for the given eTest object storing results of a statistic test. Plot tag contains (range) n numbers of complete observations.
plot_effect(
etest_object,
point_alpha = 0.5,
point_hjitter = 0,
point_wjitter = 0,
point_size = 2,
point_color = c("gray60", "coral2"),
plot_title = NULL,
plot_subtitle = NULL,
cust_theme = ggplot2::theme_classic(),
show_labels = c("none", "all", "signif"),
txt_size = 2.75,
...
)
etest_object |
and eTest object, created e.g. with |
point_alpha |
alpha of the plot points. |
point_hjitter |
point jitter height. |
point_wjitter |
point jitter width. |
point_size |
size of the points in the plots. |
point_color |
a pair of valid R colors: 1) for non-significant and 2) for significant effects. |
plot_title |
text to be displayed in the plot title. |
plot_subtitle |
text to be displayed in the plot subtitle. |
cust_theme |
custom ggplot2 theme. |
show_labels |
which points should be labeled? 'none' hides labels (default), 'all': labels all points, 'signif': labels only the significant effects with the variable name. |
txt_size |
size of the label text. |
... |
additional arguments passed to |
a ggplot point plot, significance is coded by the point fill color.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.