normality_check: Check Normality of a Model

View source: R/normality_check.R

normality_checkR Documentation

Check Normality of a Model

Description

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.

Usage

normality_check(mdl)

Arguments

mdl

A simple, multiple, or mixed-effects linear regression model.

Value

A plot and a test results in the console.

Author(s)

D. Schmitz & J. Esser

Examples

data("data_s")

model <- lm(sDur ~ typeOfS + pauseDur, data_s)

normality_check(model)


dosc91/SfL documentation built on Sept. 14, 2024, 6:44 a.m.