subtitle_friedman_nonparametric

0th

Percentile

Making text subtitle for the Friedman Rank Sum Test (nonparametric ANOVA) (within-subjects designs).

Making text subtitle for the Friedman Rank Sum Test (nonparametric ANOVA) (within-subjects designs).

Usage
subtitle_friedman_nonparametric(data, x, y, messages = TRUE, k = 2,
  ...)
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).

...

Additional arguments (ignored).

Aliases
  • subtitle_friedman_nonparametric
Examples
# NOT RUN {
# setup
set.seed(123)
library(ggstatsplot)
library(jmv)
data("bugs", package = "jmv")

# converting to long format
data_bugs <- bugs %>%
  tibble::as_tibble(.) %>%
  tidyr::gather(., key, value, LDLF:HDHF)

# creating the subtitle
ggstatsplot::subtitle_friedman_nonparametric(
  data = data_bugs,
  x = key,
  y = value,
  k = 2
)
# }
Documentation reproduced from package ggstatsplot, version 0.0.10, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.