mean_labeller

0th

Percentile

Create a dataframe with mean per group and a formatted label for display in ggbetweenstats plot.

Create a dataframe with mean per group and a formatted label for display in ggbetweenstats plot.

Keywords
internal
Usage
mean_labeller(data, x, y, mean.ci = FALSE, k = 3)
Arguments
data

A dataframe (or a tibble) from which variables specified are to be taken. A matrix or tables will not be accepted.

x

The grouping variable from the dataframe data.

y

The response (a.k.a. outcome or dependent) variable from the dataframe data.

mean.ci

Logical that decides whether 95 is to be displayed (Default: FALSE).

k

Number of digits after decimal point (should be an integer) (Default: k = 2).

Aliases
  • mean_labeller
Documentation reproduced from package ggstatsplot, version 0.0.11, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.