pairDist: Distance Matrix for a mating scene

Description Usage Arguments Value See Also Examples

Description

Compute all pairwise distances for a population. This function is simply a wrapper for dist that returns only a matrix

Usage

1
pairDist(scene)

Arguments

scene

a matingScene object

Value

a matrix of all pairwise comparisons with attributes for order of identifiers (idOrder)

See Also

dist

Examples

1
2
pop <- simulateScene()
distance <- pairDist(pop)

stuartWagenius/mateable documentation built on May 30, 2019, 8:34 p.m.