ggstatsplot (version 0.0.6)

subtitle_ggbetween_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_ggbetween_mann_nonparametric(data, x, y, paired = FALSE,
  k = 3, 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 = 3).

messages

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

Examples

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

Run the code above in your browser using DataLab