sfnetwork_mesh function

Make mesh for stream network

Make mesh for stream network

make an object representing spatial information required to specify a stream-network spatial domain, similar in usage to link[fmesher]{fm_mesh_2d} for a 2-dimensional continuous domain

sfnetwork_mesh(stream)

Arguments

  • stream: sfnetworks object representing stream network

Returns

An object (list) of class sfnetwork_mesh. Elements include:

  • N: The number of random effects used to represent the network
  • table: a table containing a description of parent nodes (from), childen nodes (to), and the distance separating them
  • stream: copy of the stream network object passed as argument
  • Maintainer: James T. Thorson
  • License: GPL-3
  • Last published: 2025-03-21