tadaatoolbox (version 0.16.0)

tadaa_normtest: Tadaa, test for normality!

Description

Tadaa, test for normality!

Usage

tadaa_normtest(data, method = "ad", print = c("df", "console", "html",
  "markdown"), ...)

Arguments

data

A data.frame.

method

The type of test to perform. Either ad for Anderson Darling, shapiro for Shapiro-Wilk, pearson for Pearson's chi-square test or ks for Kolmogorov-Smirnov (not recommended).

print

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

...

Further arguments passed to test functions where applicable, see nortest::pearson.test and stats::ks.test.

Value

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

See Also

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

Examples

Run this code
# NOT RUN {
library(dplyr)
ngo %>%
select(englisch, deutsch, mathe) %>%
tadaa_normtest(method = "shapiro")

ngo %>%
select(englisch, deutsch, mathe) %>%
tadaa_normtest(method = "pearson", print = "console")
# }

Run the code above in your browser using DataCamp Workspace