shapiro_normality_test: Perform Normality Test

View source: R/datasum.R

shapiro_normality_testR 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))

DataSum documentation built on Sept. 11, 2024, 9:18 p.m.