Description Usage Arguments Value Examples
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
1 | original_sw(vec_value, approach = "modified")
|
vec_value |
vector containing data points; integer or double |
approach |
designation of the approach to be used; character, one of "original", "modified", or "royston" |
w_p a list containing the W test statistic and p-value
1 | original_sw (1:20, "modified")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.