View source: R/normality_check.R
normality_check | R Documentation |
Checks a simple, multiple, or mixed-effects linear regression model for normality. The function outputs an orientation plot and computes a relevant statistical test: Shapiro-Wilk test on model residuals.
normality_check(mdl)
mdl |
A simple, multiple, or mixed-effects linear regression model. |
A plot and a test results in the console.
D. Schmitz & J. Esser
data("data_s")
model <- lm(sDur ~ typeOfS + pauseDur, data_s)
normality_check(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.