adTest: Anderson-Darling test for normality

Description Usage Arguments Value Note Examples

View source: R/tests.R

Description

Performs the Anderson-Darling test for the composite hypothesis of normality. This is simply a camel-case wrapper to the ad.test in nortest.

Usage

1
adTest(x)

Arguments

x

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

Value

A list with class "htest" containing the following components:

Note

This is exactly the same as ad.test in nortest package except that it uses ‘camel-case’ naming conventions.

Examples

1
2
adTest(rnorm(100,mean=5,sd=3))
adTest(runif(100,min=2,max=4))

droglenc/NCStats documentation built on June 5, 2021, 2:06 p.m.