rivernet.write: Write a river network to three data files

View source: R/rivernet.write.r

rivernet.writeR Documentation

Write a river network to three data files

Description

Writes a river network to three data files: coordinates of river reaches, attributes of reaches, and attributes of nodes.

Usage

rivernet.write(x,
               file.reachcoord  = NA,
               file.reachattrib = NA,
               file.nodeattrib  = NA,
               sep              = "\t",
               subnets          = NA)

Arguments

x

Object of class "rivernet" e.g. read by the function rivernet.read.

file.reachcoord

File name for writing reach coordinates.

file.reachattrib

File name for writing reach attributes.

file.nodeattrib

File name for writing node attributes.

sep

Separator on data files.

subnets

Optional vector of sub-networks to write (with the default NA all sub-networks are written..

Value

No return value.

See Also

rivernet.read,
prune.rivernet,
upstreamconnectivity.rivernet, adjacentreaches.rivernet,
utility.


rivernet documentation built on Aug. 28, 2023, 5:06 p.m.