costdistances: Calculates cost distances for a given landscape (resistance...

Description Usage Arguments Value

Description

calculates a cost distance matrix, to be used with run.popgensim

Usage

1
costdistances(landscape, locs, method, NN)

Arguments

landscape

a raster object coding the resistance of the landscape

locs

coordinates of the subpopulations

method

defines the type of cost distance, types are "least-cost", "rSPDistance" or "commute (Circuitscape type)"

NN

number of next neighbours recommendation is 8

Value

a costdistance matrix between all pairs of locs



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

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

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

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