Pick the comparisons a defaults list asks for from those on offer
Source: R/stat_helper.R
default_stat_pairs.RdThe Comparisons selector is repopulated from the data whenever its grouping
columns change, so a stat.pairs default cannot simply be written into the
UI. The modules instead select, from each fresh set of choices, the ones
defaults$stat.pairs names. A pair matches in either orientation, so
"Mid vs Entry" selects the "Entry vs Mid" choice.
Arguments
- defaults
A named list of module defaults, or
NULL.- pair_strings
Character vector of
"A vs B"choices on offer, as fromgenerate_pair_strings().