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, effsize.type = "unbiased",
  partial = TRUE, var.equal = FALSE, bf.prior = 0.707,
  paired = FALSE, 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.

effsize.type

Type of effect size needed for parametric tests. The argument can be "biased" ("d" for Cohen's d for t-test; "partial_eta" for partial eta-squared for anova) or "unbiased" ("g" Hedge's g for t-test; "partial_omega" for partial omega-squared for anova)).

partial

Logical that decides if partial eta-squared or omega-squared are returned (Default: TRUE). If FALSE, eta-squared or omega-squared will be returned. Valid only for objects of class lm, aov, anova, or aovlist.

var.equal

a logical variable indicating whether to treat the variances in the samples as equal. If TRUE, then a simple F test for the equality of means in a one-way analysis of variance is performed. If FALSE, an approximate method of Welch (1951) is used, which generalizes the commonly known 2-sample Welch test to the case of arbitrarily many samples.

bf.prior

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

paired

a logical indicating whether you want a paired t-test.

k

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

...

Additional arguments.

Aliases
  • subtitle_anova_bayes
Examples
# NOT RUN {
# with defaults
subtitle_anova_bayes(
  data = ggplot2::msleep,
  x = vore,
  y = sleep_rem,
  k = 2,
  bf.prior = 0.8
)

# modifying the defaults
subtitle_anova_bayes(
  data = ggplot2::msleep,
  x = vore,
  y = sleep_rem,
  effsize.type = "partial_eta",
  var.equal = TRUE
)
# }
Documentation reproduced from package ggstatsplot, version 0.0.10, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.