tadaa_levene: Levene's Test for Homoskedasticity

Description Usage Arguments Value Note See Also Examples

View source: R/tadaa_assumptions.R

Description

A thin wrapper around car::leveneTest with some formatting done.

Usage

1
2
3
4
5
6
tadaa_levene(
  data,
  formula,
  center = "median",
  print = c("df", "console", "html", "markdown")
)

Arguments

data

Data for the test

formula

Formula specifiyng groups, passed to leveneTest.

center

Method to use, either median (default for robustness) or mean.

print

Print method, default df: A regular data.frame. Otherwise passed to pixiedust::sprinkle_print_method for fancyness.

Value

A data.frame by default, otherwise dust object, depending on print.

Note

The case of center = "median" is technically called Brown–Forsythe test, so if that's selected the header for non-df returns will reflect that.

See Also

Other Tadaa-functions: tadaa_aov(), tadaa_chisq(), tadaa_kruskal(), tadaa_nom(), tadaa_one_sample(), tadaa_ord(), tadaa_pairwise_tukey(), tadaa_pairwise_t(), tadaa_t.test(), tadaa_wilcoxon()

Examples

1
2
tadaa_levene(ngo, deutsch ~ jahrgang, print = "console")
tadaa_levene(ngo, deutsch ~ jahrgang * geschl, print = "console")

tadaatoolbox documentation built on July 2, 2020, 2:30 a.m.