shapiro_normality_test {DataSum}R Documentation

Perform Normality Test

Description

This function performs the Shapiro-Wilk test if the sample size is between 3 and 5000. Otherwise, it performs the Anderson-Darling test.

Usage

shapiro_normality_test(data)

Arguments

data

A numeric vector.

Value

A character string indicating whether the data is "Normal" or "Not Normal".

Examples

shapiro_normality_test(rnorm(100))

[Package DataSum version 0.1.0 Index]