powered by
Compute all pairwise distances for a population. This function is simply a wrapper for dist that returns only a matrix
dist
pairDist(scene)
a matrix of all pairwise comparisons with attributes for order of identifiers (idOrder)
a matingScene object
pop <- simulateScene() distance <- pairDist(pop)
Run the code above in your browser using DataLab