`ad.test(x)`

x

a numeric vector of data values, the number of
which must be greater than 7. Missing values are allowed.

- A list with class
htest containing the following components: statistic the value of the Anderson-Darling statistic. p.value the p-value for the test. method the character string Anderson-Darling normality test .data.name a character string giving the name(s) of the data.

`shapiro.test`

for performing the Shapiro-Wilk test for normality.
`cvm.test`

, `lillie.test`

,
`pearson.test`

, `sf.test`

for performing further tests for normality.
`qqnorm`

for producing a normal quantile-quantile plot.```
ad.test(rnorm(100, mean = 5, sd = 3))
ad.test(runif(100, min = 2, max = 4))
```

Run the code above in your browser using DataCamp Workspace