forked from IndrajeetPatil/ggstatsplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAPI
43 lines (39 loc) · 10.8 KB
/
API
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# API for ggstatsplot package
## Exported functions
combine_plots(..., title.text = NULL, title.color = "black", title.size = 16, title.vjust = 0.5, title.hjust = 0.5, title.fontface = "bold", caption.text = NULL, caption.color = "black", caption.size = 10, caption.vjust = 0.5, caption.hjust = 0.5, caption.fontface = "plain", sub.text = NULL, sub.color = "black", sub.size = 12, sub.vjust = 0.5, sub.hjust = 0.5, sub.fontface = "plain", sub.x = 0.5, sub.y = 0.5, sub.vpadding = ggplot2::unit(1, "lines"), sub.angle = 0, sub.lineheight = 0.9, title.rel.heights = c(0.1, 1.2), caption.rel.heights = c(1.2, 0.1), title.caption.rel.heights = c(0.1, 1.2, 0.1))
combine_plots2(plotlist, plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12), title.rel.heights = c(0.1, 1.2), caption.rel.heights = c(1.2, 0.1), title.caption.rel.heights = c(0.1, 1.2, 0.1), ...)
ggbarstats(data, main, condition, counts = NULL, ratio = NULL, paired = FALSE, results.subtitle = TRUE, sample.size.label = TRUE, label = "percentage", label.args = list(alpha = 1, fill = "white"), conf.level = 0.95, nboot = 100L, k = 2L, proportion.test = TRUE, perc.k = 0, bf.message = TRUE, sampling.plan = "indepMulti", fixed.margin = "rows", prior.concentration = 1, title = NULL, subtitle = NULL, caption = NULL, legend.title = NULL, xlab = NULL, ylab = NULL, ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, output = "plot", x = NULL, y = NULL, ...)
ggbetweenstats(data, x, y, plot.type = "boxviolin", type = "parametric", pairwise.comparisons = FALSE, pairwise.display = "significant", p.adjust.method = "holm", effsize.type = "unbiased", partial = TRUE, bf.prior = 0.707, bf.message = TRUE, results.subtitle = TRUE, xlab = NULL, ylab = NULL, caption = NULL, title = NULL, subtitle = NULL, sample.size.label = TRUE, k = 2, var.equal = FALSE, conf.level = 0.95, nboot = 100, tr = 0.1, mean.plotting = TRUE, mean.ci = FALSE, mean.point.args = list(size = 5, color = "darkred"), mean.label.args = list(size = 3), notch = FALSE, notchwidth = 0.5, outlier.tagging = FALSE, outlier.label = NULL, outlier.coef = 1.5, outlier.shape = 19, outlier.color = "black", outlier.label.args = list(size = 3), outlier.point.args = list(), point.args = list(position = ggplot2::position_jitterdodge(dodge.width = 0.6), alpha = 0.4, size = 3, stroke = 0), violin.args = list(width = 0.5, alpha = 0.2), ggsignif.args = list(textsize = 3, tip_length = 0.01), ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, output = "plot", ...)
ggcoefstats(x, output = "plot", statistic = NULL, conf.int = TRUE, conf.level = 0.95, k = 2L, exclude.intercept = TRUE, exponentiate = FALSE, effsize = "eta", partial = TRUE, meta.analytic.effect = FALSE, meta.type = "parametric", bf.message = TRUE, sort = "none", xlab = "regression coefficient", ylab = "term", title = NULL, subtitle = NULL, caption = NULL, only.significant = FALSE, point.args = list(size = 3, color = "blue"), errorbar.args = list(height = 0), vline = TRUE, vline.args = list(size = 1, linetype = "dashed"), stats.labels = TRUE, stats.label.color = NULL, stats.label.args = list(size = 3, direction = "y"), package = "RColorBrewer", palette = "Dark2", ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, ...)
ggcorrmat(data, cor.vars = NULL, cor.vars.names = NULL, output = "plot", matrix.type = "full", matrix.method = "square", type = "parametric", beta = 0.1, k = 2L, sig.level = 0.05, conf.level = 0.95, bf.prior = 0.707, p.adjust.method = "none", pch = "cross", ggcorrplot.args = list(outline.color = "black"), package = "RColorBrewer", palette = "Dark2", colors = c("#E69F00", "white", "#009E73"), ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, ggplot.component = NULL, title = NULL, subtitle = NULL, caption = NULL, messages = TRUE, ...)
ggdotplotstats(data, x, y, xlab = NULL, ylab = NULL, title = NULL, subtitle = NULL, caption = NULL, type = "parametric", test.value = 0, bf.prior = 0.707, bf.message = TRUE, effsize.type = "g", conf.level = 0.95, nboot = 100, k = 2, results.subtitle = TRUE, point.args = list(color = "black", size = 3, shape = 16), test.k = 0, test.value.line = FALSE, test.value.line.args = list(size = 1), test.value.label.args = list(size = 3), centrality.parameter = "mean", centrality.k = 2, centrality.line.args = list(color = "blue", size = 1), centrality.label.args = list(color = "blue", size = 3), ggplot.component = NULL, ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, output = "plot", ...)
gghistostats(data, x, binwidth = NULL, bar.measure = "count", xlab = NULL, title = NULL, subtitle = NULL, caption = NULL, type = "parametric", test.value = 0, bf.prior = 0.707, bf.message = TRUE, effsize.type = "g", conf.level = 0.95, nboot = 100, k = 2L, ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, bar.fill = "grey50", results.subtitle = TRUE, test.k = 0, test.value.line = FALSE, test.value.line.args = list(size = 1), test.value.label.args = list(size = 3), centrality.parameter = "mean", centrality.k = 2, centrality.line.args = list(size = 1, color = "blue"), centrality.label.args = list(color = "blue", size = 3), normal.curve = FALSE, normal.curve.args = list(size = 3), ggplot.component = NULL, output = "plot", ...)
ggpiestats(data, main, condition = NULL, counts = NULL, ratio = NULL, paired = FALSE, results.subtitle = TRUE, label = "percentage", label.args = list(direction = "both"), label.repel = FALSE, conf.level = 0.95, nboot = 100L, k = 2L, proportion.test = TRUE, perc.k = 0, bf.message = TRUE, sampling.plan = "indepMulti", fixed.margin = "rows", prior.concentration = 1, title = NULL, subtitle = NULL, caption = NULL, legend.title = NULL, ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, output = "plot", x = NULL, y = NULL, ...)
ggscatterstats(data, x, y, type = "parametric", conf.level = 0.95, bf.prior = 0.707, bf.message = TRUE, label.var = NULL, label.expression = NULL, point.label.args = list(size = 3), formula = y ~ x, smooth.line.args = list(size = 1.5, color = "blue"), method = "lm", method.args = list(), point.args = list(size = 3, alpha = 0.4), point.width.jitter = 0, point.height.jitter = 0, marginal = TRUE, marginal.type = "histogram", margins = "both", marginal.size = 5, xfill = "#009E73", yfill = "#D55E00", xparams = list(fill = xfill), yparams = list(fill = yfill), centrality.parameter = "none", centrality.label.args = list(size = 3), vline.args = list(color = xfill, size = 1, linetype = "dashed"), hline.args = list(color = yfill, size = 1, linetype = "dashed"), results.subtitle = TRUE, xlab = NULL, ylab = NULL, title = NULL, subtitle = NULL, caption = NULL, beta = 0.1, k = 2L, ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, ggplot.component = NULL, output = "plot", ...)
ggwithinstats(data, x, y, type = "parametric", pairwise.comparisons = FALSE, pairwise.display = "significant", p.adjust.method = "holm", effsize.type = "unbiased", partial = TRUE, bf.prior = 0.707, bf.message = TRUE, sphericity.correction = TRUE, results.subtitle = TRUE, xlab = NULL, ylab = NULL, caption = NULL, title = NULL, subtitle = NULL, sample.size.label = TRUE, k = 2, conf.level = 0.95, nboot = 100, tr = 0.1, mean.plotting = TRUE, mean.ci = FALSE, mean.point.args = list(size = 5, color = "darkred"), mean.label.args = list(size = 3), point.path = TRUE, point.path.args = list(alpha = 0.5, linetype = "dashed"), mean.path = TRUE, mean.path.args = list(color = "red", size = 1, alpha = 0.5), notch = FALSE, notchwidth = 0.5, outlier.tagging = FALSE, outlier.label = NULL, outlier.coef = 1.5, outlier.label.args = list(), outlier.point.args = list(), violin.args = list(width = 0.5, alpha = 0.2), ggsignif.args = list(textsize = 3, tip_length = 0.01), ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE, package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, output = "plot", ...)
grouped_ggbarstats(data, main, condition, counts = NULL, grouping.var, title.prefix = NULL, output = "plot", x = NULL, y = NULL, ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
grouped_ggbetweenstats(data, x, y, grouping.var, outlier.label = NULL, title.prefix = NULL, output = "plot", ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
grouped_ggcorrmat(data, cor.vars = NULL, cor.vars.names = NULL, grouping.var, title.prefix = NULL, output = "plot", ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
grouped_ggdotplotstats(data, x, y, grouping.var, title.prefix = NULL, output = "plot", ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
grouped_gghistostats(data, x, grouping.var, binwidth = NULL, title.prefix = NULL, output = "plot", ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
grouped_ggpiestats(data, main, condition = NULL, counts = NULL, grouping.var, title.prefix = NULL, output = "plot", x = NULL, y = NULL, ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
grouped_ggscatterstats(data, x, y, grouping.var, label.var = NULL, label.expression = NULL, title.prefix = NULL, output = "plot", ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
grouped_ggwithinstats(data, x, y, grouping.var, outlier.label = NULL, title.prefix = NULL, output = "plot", ..., plotgrid.args = list(), title.text = NULL, title.args = list(size = 16, fontface = "bold"), caption.text = NULL, caption.args = list(size = 10), sub.text = NULL, sub.args = list(size = 12))
theme_corrmat()
theme_ggstatsplot(ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE)
theme_pie(ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE)
## Reexported objects
magrittr::%$%
zeallot::%<-%
magrittr::%<>%
magrittr::%>%
rlang::%|%
rlang::%||%
tibble::as_tibble
tibble::enframe
pairwiseComparisons::pairwise_comparisons
pairwiseComparisons::pairwise_p
ipmisc::set_cwd
ipmisc::signif_column
ipmisc::specify_decimal_p
tibble::tibble