View source: R/pooled_normality_test.R
| pooled_normality_test | R Documentation |
Standardizes values within each group and applies a single normality test to the pooled standardized values. This avoids multiple testing issues when deciding between parametric and non-parametric methods.
pooled_normality_test(y, g, test = c("shapiro", "ad"), min_n = 3L)
y |
Numeric vector of response values |
g |
Factor or vector defining groups (must have at least 2 levels) |
test |
Character, either "shapiro" or "ad" for Anderson-Darling |
min_n |
Minimum sample size per group required (default 3) |
A list with test results (statistic, p.value, method, data.name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.