Connectance: Calculate distances between cells

Description Usage Arguments Details Author(s)

Description

Calculates euclidean distance between all cells in a landscape

Usage

1
Connectance(NumPatches, extent)

Arguments

NumPatches

Number of cells in the landscape, equal to the extent squared

extent

Length of one side of the square landscape

Details

Designed with a square landscape in mind, but it will work for other configurations Basically, cells are added by rows, and if there are not enough cells to complete a row, the row is missing some cells.

Author(s)

Jakob Gerstenlauer, with minor modification by A.C. Keyel


akeyel/spatialdemography documentation built on May 12, 2019, 4:43 a.m.