Test for detecting violation of normality assumption.

norm_test(y, ...)

Arguments

y
a numeric vector
...
other arguments

Value

norm_test returns an object of class "norm_test". An object of class "norm_test" is a list containing the following components:

Examples

model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) norm_test(model)
#> ----------------------------------------------- #> Test Statistic pvalue #> ----------------------------------------------- #> Shapiro-Wilk 0.9366 0.06 #> Kolmogorov-Smirnov 0.1152 0.7464 #> Cramer-von Mises 2.8122 0 #> Anderson-Darling 0.5859 0.1188 #> -----------------------------------------------