Description Usage Arguments Value Examples
This function calculates the W test statistic and p-value for the Royston approach for the Shapiro-Wilk test. The Royston approach uses formulas to determine the value of the test statistic
1 | royston_sw(vec_value, use_c = T)
|
vec_value |
vector containing data points; integer or double |
use_c |
whether or not to use Rcpp to calculate W; boolean, 0 corresponding to R implentation and 1 corresponding toRcpp implementation |
w_p a list containing the W test statistic and p-value
1 | royston_sw (1:60)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.