royston_sw: Implementation of the Royston approach for the Shapiro-Wilk...

Description Usage Arguments Value Examples

Description

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

Usage

1
royston_sw(vec_value, use_c = T)

Arguments

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

Value

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

Examples

1
royston_sw (1:60)

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