tadaatoolbox (version 0.17.0)

tadaa_levene: Levene's Test for Homoskedasticity

Description

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

Usage

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.

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

Run this code
# NOT RUN {
tadaa_levene(ngo, deutsch ~ jahrgang, print = "console")
tadaa_levene(ngo, deutsch ~ jahrgang * geschl, print = "console")
# }

Run the code above in your browser using DataLab