spnetBuild: Build a geographical network from a network edge-list.

Description Usage Arguments Details Value

View source: R/networks.R

Description

Build a geographical network from a network edge-list.

Usage

1
spnetBuild(sites, siteid, edges, edgew, cutoff = 0, verbose = TRUE)

Arguments

sites

To Add.

siteid

To Add.

edges

To Add.

edgew

To Add.

cutoff

To Add.

verbose

A logical variable indicating whether extra information on progress should be reported. Default is TRUE.

Details

This function takes a point dataset that can be mapped in geogrpahical space (e.g. a SpatialPointsDataFrame) and a basic set of from-and-to edges (optionally with weights) that might used in a standard network model, and it builds line data that can be mapped corrctly as a geographical layout.

Value

An object of class SpatialLines.


ahb108/sparch documentation built on Feb. 3, 2021, 1:21 a.m.