powered by
ggbetweenstats
Dataframe with mean per group and a formatted label for display in ggbetweenstats plot.
mean_labeller(data, x, y, mean.ci = FALSE, k = 3L, ...)
A dataframe (or a tibble) from which variables specified are to be taken. A matrix or tables will not be accepted.
The grouping variable from the dataframe data.
data
The response (a.k.a. outcome or dependent) variable from the dataframe data.
Logical that decides whether 95% confidence interval for mean is to be displayed (Default: FALSE).
95%
FALSE
Number of digits after decimal point (should be an integer) (Default: k = 2).
k = 2
Currently ignored.
# NOT RUN { ggstatsplot:::mean_labeller( data = ggplot2::msleep, x = vore, y = brainwt, mean.ci = TRUE, k = 3 ) # }
Run the code above in your browser using DataLab