View source: R/plot-statistics-interactive.R
plot_descriptive_statistics_shiny | R Documentation |
Old but working plotting function for shiny application.
plot_descriptive_statistics_shiny(
df,
variables = "all",
across,
across.subset = NULL,
plot.type = "boxplot",
binwidth,
test.pairwise = "none",
test.groupwise = "none",
display.points = FALSE,
pt.size = 1.2,
pt.alpha = 0.8,
pt.color = "black",
n.obs = 100,
shape.to = "none",
ref.group,
clrp = "milo",
...,
verbose = TRUE
)
df |
A data.frame that contains the grouping variable specified in |
variables |
Character vector. The names of the numeric variables of interest. |
plot.type |
Character value. One of 'histogram', 'ridgeplot', 'boxplot',
'violinplot' or 'density' to visualize the value distribution of those
variables specified via the If set to 'boxplot' or 'violinplot' and only one variable is specified statistical test can be performed. |
binwidth |
Numeric value. Only relevant if |
test.pairwise |
Character value. One of 'none', 't.test', 'wilcox.test'. |
test.groupwise |
Character value. One of 'none', 'anova', 'kruskal.test'. |
display.points |
Logical. If set to TRUE the value distribution of |
n.obs |
Numeric value. |
shape.to |
Character value. Denotes the discrete variable to which the shape of the
points are mapped. (Ignored if |
ref.group |
Character value. Denotes the reference group for the statistical tests. Must
be one value of the variable specified in |
... |
Additional arguments given to |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.