Learn R Programming

shipunov (version 1.17.1)

Normality: Check normality

Description

Check normality through Shapiro-Wilks test

Usage

Normality(x, p=0.05)

Value

Character vector of length one.

Arguments

x

numerical vector

p

level of significance

Author

Alexey Shipunov

Details

Normality via Shapiro-Wilks test. Kolmogorov-Smirnov is apparently too weak for small samples. The word of caution: this function only helps to decide if the data complains with parametric methods ("normal").

See Also

Examples

Run this code
Normality(rnorm(100))
sapply(trees, Normality)

Run the code above in your browser using DataLab