subtitle_anova_bayes

0th

Percentile

Making text subtitle for the between-subject one-way anova designs.

Making text subtitle for the between-subject one-way anova designs.

Usage
subtitle_anova_bayes(data, x, y, paired = FALSE, bf.prior = 0.707,
  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.

paired

Logical that decides whether the design is repeated measures/within-subjects (in which case one-way Friedman Rank Sum Test will be carried out) or between-subjects (in which case one-way Kruskal<U+2013>Wallis H test will be carried out). The default is FALSE.

bf.prior

A number between 0.5 and 2 (default 0.707), the prior width to use in calculating Bayes factors.

k

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

...

Additional arguments.

Aliases
  • subtitle_anova_bayes
Examples
# NOT RUN {
set.seed(123)

# between-subjects ---------------------------------------
# with defaults
ggstatsplot::subtitle_anova_bayes(
  data = ggplot2::msleep,
  x = vore,
  y = sleep_rem
)

# modifying the defaults
ggstatsplot::subtitle_anova_bayes(
  data = ggplot2::msleep,
  x = vore,
  y = sleep_rem,
  k = 3,
  bf.prior = 0.8
)

# repeated measures ---------------------------------------
ggstatsplot::subtitle_anova_bayes(
  data = WRS2::WineTasting,
  x = Wine,
  y = Taste,
  paired = TRUE,
  k = 4
)
# }
Documentation reproduced from package ggstatsplot, version 0.0.11, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.