Learn R Programming

OCNet (version 1.2.2)

Optimal Channel Networks

Description

Generate and analyze Optimal Channel Networks (OCNs): oriented spanning trees reproducing all scaling features characteristic of real, natural river networks. As such, they can be used in a variety of numerical experiments in the fields of hydrology, ecology and epidemiology. See Carraro et al. (2020) for a presentation of the package; Rinaldo et al. (2014) for a theoretical overview on the OCN concept; Furrer and Sain (2010) for the construct used.

Copy Link

Version

Install

install.packages('OCNet')

Monthly Downloads

349

Version

1.2.2

License

GPL-3

Maintainer

Luca Carraro

Last Published

April 16th, 2024

Functions in OCNet (1.2.2)

OCN_to_igraph

Transform OCN into igraph object
OCN_250_T

Example of single-outlet OCN
continue_OCN

Perform OCN Search Algorithm on an Existing OCN
OCN_to_SSN

Transform OCN into SSN object (disabled)
create_general_contour_OCN

Create an Optimal Channel Network on a general contour
create_OCN

Create an Optimal Channel Network
draw_elev3Drgl_OCN

Plot 3D map of elevation generated by an OCN via rgl rendering
OCN_300_4out

Example of multiple-outlet OCN
flowDir

Example of initial flow direction matrix to be used as input in create_general_contour_OCN.
create_peano

Create Peano network
find_area_threshold_OCN

Find relationship between number of nodes and threshold area in an OCN
landscape_OCN

Generate 3D landscape from an Optimal Channel Network
draw_thematic_OCN

Draw thematic map on an Optimal Channel Network
draw_subcatchments_OCN

Draw subcatchment map from an Optimal Channel Network
draw_simple_OCN

Draw an Optimal Channel Network
river-class

river class
rivergeometry_OCN

River geometry of an Optimal Channel Network
paths_OCN

Calculate paths between nodes in an Optimal Channel Network
plot

Plot a river
OCN_20

Example of small OCN
OCN_to_AEM

Construct asymmetric eigenvector maps (AEM) from an OCN
OCN_400_Allout

Example of OCN with all perimetric pixels as outlets
OCN_4

Example of small OCN
OCN_250_PB

Example of single-outlet OCN with periodic boundaries
OCN_300_4out_PB_hot

Example of multiple-outlet OCN with periodic boundaries
OCNet-package

Create and analyze Optimal Channel Networks.
aggregate_OCN

Aggregate an Optimal Channel Network
draw_elev3D_OCN

Plot 3D map of elevation generated by an OCN
draw_contour_OCN

Draw Optimal Channel Network with catchment contours
draw_elev2D_OCN

Plot 2D map of elevation generated by an OCN