Computes the two-sided independent two-sample t-test comparing two groups. By
default it is Welch's t-test (unequal variances, Welch-Satterthwaite df) –
matching stats::t.test and scipy.stats.ttest_ind(equal_var =
FALSE); set var_equal = TRUE for Student's pooled-variance test. The
standard test for a difference between two independent groups (e.g. older vs
younger, patients vs controls). Reproduces both references bit-for-bit.
See also
pairedTTest for matched samples.