This is an internal function used by nonparboot() to perform bootstrap resampling for independent t-tests.
bootstrap_t_sample(x_val, y_val, grp_val, grp_sizes, pre_calc)A numeric vector of length 2 containing the bootstrapped test statistic and mean difference.
A numeric vector of values from the primary variable.
A numeric vector of values from the second variable (only used for paired t-tests).
A factor vector of group labels (only used for independent t-tests and F-test).
A table of group sizes (only used for independent t-tests and F-test).
A list containing pre-calculated statistics from the original data.