calculate_dci_pot: Calculate non-thresholded potamodromous DCI

View source: R/calculate_dci.R

calculate_dci_potR Documentation

Calculate non-thresholded potamodromous DCI

Description

Calculate non-thresholded potamodromous DCI

Usage

calculate_dci_pot(all_members, net_nodes, seg_weights, n.cores, quiet)

Arguments

all_members

An integer vector holding all assigned membership labels in the river_net object.

net_nodes

An sf object of the nodes of the river_net object with river attributes joined.

seg_weights

A data frame of each segments total length. Either weighted or unweighted depending on parameters.

n.cores

An optional integer value indicating the number of cores to use. Defaults to 1. Currently only works on MacOS and Linux.

quiet

A logical value indicating whether the global DCI and a map of segments should be printed to the console. Defaults to TRUE.

n.nodes

An optional integer value indicating the number of cores to use. Defaults to 1. Currently only works on MacOS and Linux.

Value

A data frame which holds raw and relative DCI scores for each segment.


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