Description Usage Arguments Value Examples
This function replaces the bottom side of the distance network with zeroes. This ensures that everything can only go in one direction. i.e. from code example A to B, A to C, A to D, B to C, B to D and C to D
1 | directedNET(dist, include_diagonal = TRUE, replaceWith = 0)
|
dist |
This is a distance matrix between two sites |
include_diagonal |
'TRUE' means the diagonal is replaced (such that animals cannot remain in a site) and 'FALSE' means they are not |
replaceWith |
Replace lower part of distance matrix with e.g. zeros or NAs, default is set to 0 |
A distance matrix in kilometres between all pairs sites
1 2 3 | dta <- data.frame(Site= LETTERS[1:4], Lat= 1:4, Lon= 5:8, Pop=100:103)
dist <- point2DIST(dta)
directedNET(dist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.