View source: R/calculate_dci.R
calculate_dci_pot_thresh | R Documentation |
Calculate thresholded potamodromous DCI
calculate_dci_pot_thresh(
net,
all_members,
net_nodes,
seg_weights,
weighted,
threshold,
totweight,
n.cores,
quiet
)
net |
A |
all_members |
An integer vector holding all assigned membership labels
in the |
net_nodes |
An |
seg_weights |
A data frame of each segments total length. Either weighted or unweighted depending on parameters. |
weighted |
A logical value indicating whether river lengths in seg_weights are weighted. |
threshold |
An optional numeric value specifying a dispersal limit in map units. If NULL, the default, no limit is considered. |
totweight |
The total length or weighted length of the whole network. |
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. |
A data frame which holds raw and relative DCI scores for each segment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.