isNormal | R Documentation |
Testing if a variable follows a normal distribution using Shapiro-Wilk test.
isNormal(x, alpha = 0.05)
x |
Variable whose normality is to be tested. |
alpha |
Significance level for testing normality. |
TRUE (if normality can be accepted) or FALSE (if normality is rejected).
isNormal(rnorm(100))
isNormal(runif(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.