knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

dci

R-CMD-check Project Status: Active – The project has reached a stable, usable state and is being actively developed. Codecov test coverage R-CMD-check

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 points 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.

Installation

From GitHub

To install the development version of the dci package from this github page follow these instructions:

require(devtools)
install_github("aarkilanian/dci")


aarkilanian/dci documentation built on Feb. 5, 2024, 7:12 p.m.