Learn R Programming

ggstatsplot (version 0.0.6)

subtitle_ggbetween_kw_nonparametric: Making text subtitle for the Kruskal-Wallis test (nonparametric ANOVA) (between-subjects designs).

Description

Making text subtitle for the Kruskal-Wallis test (nonparametric ANOVA) (between-subjects designs).

Usage

subtitle_ggbetween_kw_nonparametric(data, x, y, messages = TRUE, k = 3)

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.

messages

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

k

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

Examples

Run this code
# NOT RUN {
subtitle_ggbetween_kw_nonparametric(
  data = ggplot2::msleep,
  x = vore,
  y = sleep_rem
)
# }

Run the code above in your browser using DataLab