original_sw: Implementation of the original and modified approaches for...

Description Usage Arguments Value Examples

Description

This function calculates the W test statistic and p-value for the original and modified approaches for the Shapiro-Wilk test. The original and modified approaches use the Shapiro-Wilk coefficient table (which can be found in the data-raw folder) to determine the value of the test statistic

Usage

1
original_sw(vec_value, approach = "modified")

Arguments

vec_value

vector containing data points; integer or double

approach

designation of the approach to be used; character, one of "original", "modified", or "royston"

Value

w_p a list containing the W test statistic and p-value

Examples

1
original_sw (1:20, "modified")

chrsshn/checknormality documentation built on Dec. 31, 2020, 10:01 p.m.