ggstatsplot (version 0.0.10)

subtitle_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_kw_nonparametric(data, x, y, messages = TRUE, k = 2,
  nboot = 100, conf.level = 0.95, conf.type = "norm", ...)

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.

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 = 2).

nboot

Number of bootstrap samples for computing confidence interval for the effect size (Default: 100).

conf.level

Scalar between 0 and 1. If unspecified, the defaults return 95% lower and upper confidence intervals (0.95).

conf.type

A vector of character strings representing the type of intervals required. The value should be any subset of the values "norm", "basic", "perc", "bca". For more, see ?boot::boot.ci.

...

Additional arguments (ignored).

Examples

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

Run the code above in your browser using DataCamp Workspace