Skip to contents

Shapiro-Wilk normality test

Usage

morie_shapiro_wilk_test(x, alpha = 0.05)

Arguments

x

Numeric vector.

alpha

Significance level for the is_normal flag (default 0.05).

Value

Named list: W, p_value, is_normal.

Examples

morie_shapiro_wilk_test(x = rnorm(50))
#> $W
#> [1] 0.9898816
#> 
#> $p_value
#> [1] 0.9433753
#> 
#> $is_normal
#> [1] TRUE
#>