weightMatrix: Draw weighted adjacency matrix between colonies

Description Usage Arguments

Description

For weighted networks, draw an adjacency matrix showing which colonies are connected and how strongly connected they are depending on a kernel that defines how connection strength decreases with distance.

Many kernels have a maximum threshold above which colonies aren't connected. This simplified things as otherwise all colonies would be connected to some extent. This threshold is defined with the argument maxDistance.

Usage

1
weightMatrix(locations, maxDistance, kern)

Arguments

locations

x, y numeric locations of each colony.

maxDistance

For kernels with an upper threshold

kern

Character, giving the name of the distance kernel to be used.


timcdlucas/MetapopEpi documentation built on May 31, 2019, 1:47 p.m.