river-class | R Documentation |
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
.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.