pairDist: Distance Matrix for a mating scene

Description Usage Arguments Value See Also Examples

View source: R/spatialDataFunctions.R

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)

mateable documentation built on May 19, 2017, 8:34 p.m.

Search within the mateable package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.