pairDist {mateable}R Documentation

Distance Matrix for a mating scene

Description

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

Usage

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

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

[Package mateable version 0.3.2 Index]