get_adjacency: Construct a Stream Network Adjacency Matrix

Description Usage Arguments Value Author(s) See Also

View source: R/get_adjacency.R

Description

Builds a sparse adjacency matrix from a user specified SSN data directory, by extracting and processing the binaryID.db table. The resulting output of this function is required input for fitting spatial additive network models to SSN objects using the main smnet function.

Usage

1
get_adjacency(ssn_directory, netID = 1)

Arguments

ssn_directory

Required character string indicating the path to the location of the .ssn directory which contains the binaryID.db table.

netID

Logical. Integer specifying the particular stream network of interest within the SSN object. Defaults to 1.

Value

List object with components

Author(s)

Alastair Rushworth

See Also

smnet, plot.smnet, predict.smnet


alastairrushworth/smnet documentation built on Nov. 13, 2020, 10:27 p.m.