preprocess_data | R Documentation |
preprocess_data
is a helper function that performs several
preprocessing steps on the data before performing the two-sample tests.
preprocess_data(x, y, delta, na.rm, wobble, wobble.seed, scale.test)
x |
a (non-empty) numeric vector of data values. |
y |
a (non-empty) numeric vector of data values. |
delta |
a numeric value indicating the true difference in the location or scale parameter, depending on whether the test should be performed for a difference in location or in scale. |
na.rm |
a logical value indicating whether NA values in |
wobble |
a logical value indicating whether the sample should be checked for
duplicated values that can cause the scale estimate to be zero.
If such values are present, uniform noise is added to the sample,
see |
wobble.seed |
an integer value used as a seed for the random number
generation in case of |
scale.test |
a logical value to specify if the samples should be compared for a difference in scale. |
The preprocessing steps include the removal of missing values and, if specified, wobbling and a transformation of the observations to test for differences in scale.
A named list containing the following components:
|
the (possibly transformed) input vector |
|
the (possibly transformed) input vector |
|
the (possibly transformed) input value
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.