We have 4 main evolutionary distances: same population, close, intermediate, distant. To ease plotting this function transforms the names of pairwise comparisons in one of these three classes.

compDistClass(x)

Arguments

x

A vector of pair names such as Oki_Kum, Osa_Nor, etc

Value

A vector of "same_pop", "close", "intermediate", and distant.