ez.mvi | R Documentation |
generic plot a customized boxplot with jittered stripplot, violin, and mean
ez.mvi(
df,
cmd,
violin = TRUE,
colors = ez.palette("Zhu"),
n.size = 4.5,
m.size = 4.5,
alpha = 0.7,
facet = "cols",
theme.apa = TRUE
)
df |
data frame in long format |
cmd |
like "y", "y|x", "y|x z", "y|x z a" where y is continous, x z a are discrete |
violin |
plot violin or not |
n.size |
font size of stat n, 0 to hide |
m.size |
font size of stat M, 0 to hide |
facet |
one of 'cols', 'rows', 'wrap' |
a ggplot object (+theme_apa() to get apa format plot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.