powered by
shapiro.wilk.test(x)
shapiro.test
shapiro.wilk.test(rnorm(100, mean = 5, sd = 3)) # $p 0.169547 shapiro.wilk.test(runif(100, min = 2, max = 4)) # $p 6.09393e-06
Run the code above in your browser using DataLab