export_dci: Export DCI results to spatial format

View source: R/export.R

export_dciR Documentation

Export DCI results to spatial format

Description

Export DCI results to spatial format

Usage

export_dci(net, results, type = "rivers")

Arguments

net

A river_net object.

results

dci.results object or a list of objects of DCI results returned by calculate_dci.

type

The element of the river network for which results should be reported. Can be either "rivers" or any of the nodes included in the river_net object such as "barriers" or "poi".

Value

A sf object with the corresponding DCI results joined to each feature.

Examples

## Not run: 
export_dci(net = net_name, results = dci_results, type = "rivers")
export_dci(net = net_name, results = dci_results, type = "poi")
export_dci(net = net_name, results = dci_results, type = "barriers")
export_dci(net = net_name, results = list(a, b, c), type = "rivers")

## End(Not run)

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