Learn R Programming

⚠️There's a newer version (1.2.2) of this package.Take me there.

OCNet (version 0.4.0)

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

358

Version

0.4.0

License

GPL-3

Maintainer

Luca Carraro

Last Published

March 2nd, 2021

Functions in OCNet (0.4.0)

OCN_to_SSN

Transform OCN into SSN object
OCN_300_4out_PB_hot

Example of multiple-outlet OCN with periodic boundaries
OCN_to_igraph

Transform OCN into igraph object
OCN_300_4out

Example of multiple-outlet OCN
OCN_4

Example of small OCN
OCNet-package

Create and analyze Optimal Channel Networks.
create_peano

Create Peano network
create_OCN

Create an Optimal Channel Network
draw_contour_OCN

Draw Optimal Channel Network with catchment contours
draw_elev2D_OCN

Plot 2D map of elevation generated by an OCN
rivergeometry_OCN

River geometry of an Optimal Channel Network
continue_OCN

Perform OCN Search Algorithm on an Existing OCN
aggregate_OCN

Aggregate an Optimal Channel Network
draw_elev3Drgl_OCN

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

Generate 3D landscape from an Optimal Channel Network
draw_elev3D_OCN

Plot 3D map of elevation generated by an OCN
paths_OCN

Calculate paths between nodes in an Optimal Channel Network
draw_subcatchments_OCN

Draw subcatchment map from an Optimal Channel Network
draw_thematic_OCN

Draw thematic map on an Optimal Channel Network
draw_simple_OCN

Draw an Optimal Channel Network
find_area_threshold_OCN

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

Example of single-outlet OCN with periodic boundaries
OCN_400_Allout

Example of OCN with all perimetric pixels as outlets
OCN_250_T

Example of single-outlet OCN
OCN_20

Example of small OCN