check_sw_test_inputs: Check for valid parameters for a sw_test call

Description Usage Arguments Value

Description

This function checks that the parameters for a sw_test call are acceptable. When parameters are not acceptable, errors are thrown. When parameters need minor adjustments, warnings are thrown. Because this function is highly specific to checknormality::sw_test(), this function is not exported.

Usage

1
check_sw_test_inputs(vec_value, approach)

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

approach_to_use is the recommended approach and may not be identical to what the user initially chose; character, one of "original", "modified", or "royston"


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