cv05_sw_norm_test_1 {CleaningValidation} | R Documentation |
Perform Shapiro-Wilk Normality Test
Description
This function performs the Shapiro-Wilk test for normality on a specified variable in a dataset. It returns a data frame with the variable name, the Shapiro-Wilk statistic, the p-value in scientific notation, and an indication of whether the p-value is less than 0.05.
Usage
cv05_sw_norm_test_1(data, residue_col)
Arguments
data |
A data frame containing the dataset. |
residue_col |
The name of the column to test for normality. |
Value
A data frame with the Shapiro-Wilk test results.
Author(s)
Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]
Examples
data(Eq_Mic)
cv05_sw_norm_test_1(data=Eq_Mic, residue_col="Mic")
[Package CleaningValidation version 1.0 Index]