river-class {OCNet} | R Documentation |
river class
Description
A river
object contains information on river attributes at different aggregation levels. It can represent a real river network
(obtained via rivnet::extract_river
) or an optimal channel network (obtained via create_OCN
).
The content of a river
object can be treated as a list, hence its objects and sublists can be accessed with both the $
and @
operators.
For information on the aggregation levels and on the content of a
river
object, see OCNet-package
.
Examples
show(OCN_20)
names(OCN_20)
# extract or replace parts of a river object
OCN_20$dimX
OCN_20@dimX
dim <- OCN_20[["dimX"]]
OCN_20$dimX <- 1
OCN_20[["dimX"]]
OCN_20[["dimX"]] <- dim
[Package OCNet version 1.2.2 Index]