Description Usage Arguments Value Deprecated Function See Also Examples
Test for detecting violation of normality assumption.
1 2 3 4  | ols_test_normality(y, ...)
## S3 method for class 'lm'
ols_test_normality(y, ...)
 | 
y | 
 A numeric vector or an object of class   | 
... | 
 Other arguments.  | 
ols_test_normality returns an object of class "ols_test_normality".
An object of class "ols_test_normality" is a list containing the
following components:
kolmogorv | 
 kolmogorv smirnov statistic  | 
shapiro | 
 shapiro wilk statistic  | 
cramer | 
 cramer von mises statistic  | 
anderson | 
 anderson darling statistic  | 
ols_norm_test() has been deprecated. Instead use ols_test_normality().
Other residual diagnostics: ols_plot_resid_box,
ols_plot_resid_fit,
ols_plot_resid_hist,
ols_plot_resid_qq,
ols_test_correlation
1 2  | model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_test_normality(model)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.