| is_normal | R Documentation |
A handy wrapper for data normality assessment using the Shapiro-Wilk-Royston, D'Agostino-Pearson, and Anderson-Darling tests.
is_normal(data, formula = NULL, alpha = 0.05, sensitivity = 2, summary = FALSE)
data |
A data frame or a numeric vector. |
formula |
Formula (default: NULL). If |
alpha |
Significance threshold, range from 0 to 1 (default: 0.05). |
sensitivity |
Numeric, range from 1 to 3 (default: 2). The greater the value, the greater chance to consider as non-normal. |
summary |
Logical (default: FALSE). If |
A boolean value (or a list if summary = TRUE).
is_normal(iris, Sepal.Length ~ Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.