powered by
Runs Shapiro–Wilk tests on the raw response within each subgroup for all non-empty combinations of RHS factors (main effects and interaction cells).
normality.datatable(formula, data, force_factors = TRUE)
A data.frame with rows per subgroup/cell. Columns: Effect, factor columns, count, W, p.shapiro (4 decimals), OK.
Effect
count
W
p.shapiro
OK
A model formula y ~ A + B (+ C ...).
y ~ A + B (+ C ...)
A data frame with the variables.
Logical; if TRUE, coerces RHS predictors to factors.
plan.diagnostics
if (FALSE) { normality.datatable(liking ~ gender + condition + age_cat, data = mimicry) }
Run the code above in your browser using DataLab