The dci
package provides an R interface to the Dendritic Connectivity Index (DCI) allowing for the analysis of longitudinal connectivity in river networks. Given a set of spatial data representing river lines, barrier point locations and the location of the target watershed's outlet the dci
package provides tools to calculate ecological connectivity with the DCI. There are options to calculate the potamodromous or diadromous form of the DCI as well as options to consider a distance threshold and/or weights to be applied to river lengths.
This package extends the tidy representation of geospatial network data from the sfnetworks package. This provides access to a rich set of further network analysis tools from the tidygraph package as well as data manipulation from the tidyverse family of packages.
To install the development version of the dci
package from this github page follow these instructions:
require(devtools)
install_github("aarkilanian/dci")