This functions creates a data frame with population combinations which can be used as the input for qpadm_multi

rotate_models(leftright, target, rightfix = NULL)

Arguments

leftright

Populations which will be distributed between left and right

target

Target population

rightfix

Populations which will be on the right side in all models

Value

A data frame with Chi-squared statistics and p-values for each population combination

Examples

if (FALSE) {
pops = dimnames(example_f2_blocks)[[1]]
rotate_models(leftright = pops[1:4],
             target = pops[5], rightfix = pops[6:7])
}