ggstatsplot (version 0.0.7)

subtitle_mann_nonparametric: Making text subtitle for the Mann-Whitney U-test (between-/within-subjects designs).

Description

Making text subtitle for the Mann-Whitney U-test (between-/within-subjects designs).

Usage

subtitle_mann_nonparametric(data, x, y, paired = FALSE, k = 2,
  messages = TRUE, ...)

subtitle_t_nonparametric(data, x, y, paired = FALSE, k = 2, messages = TRUE, ...)

Arguments

data

Dataframe from which variables specified are preferentially to be taken.

x

The grouping variable.

y

The response - a vector of length the number of rows of x.

paired

a logical indicating whether you want a paired t-test.

k

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

messages

Decides whether messages references, notes, and warnings are to be displayed (Default: TRUE).

...

Additional arguments (ignored).

Examples

Run this code
# NOT RUN {
subtitle_mann_nonparametric(
  data = sleep,
  x = group,
  y = extra
)
# }

Run the code above in your browser using DataCamp Workspace