PCMareaWidth: Calculates width function for graphs of PCM ponds weighted by...

View source: R/PCMareaWidth.R

PCMareaWidthR Documentation

Calculates width function for graphs of PCM ponds weighted by area

Description

Calculates width function for graphs of PCM ponds weighted by area

Usage

PCMareaWidth(graph, areas)

Arguments

graph

Required. Graph (from igraph) of PCM ponds. Can be created using graphPCMPonds.

areas

Required. Vector containing pond areas.

Value

Returns a hist object of weighted pond counts vs. distance from outlet.

Examples

## Not run: 
h <- PCMareaWidth(PCMgraph, areas)
plot(h)
## End(Not run)

KevinShook/WDPMr documentation built on April 23, 2022, 12:32 a.m.