shapiro_normality_test | R Documentation |
This function performs the Shapiro-Wilk test if the sample size is between 3 and 5000. Otherwise, it performs the Anderson-Darling test.
shapiro_normality_test(data)
data |
A numeric vector. |
A character string indicating whether the data is "Normal" or "Not Normal".
shapiro_normality_test(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.