lakeFetch: Function to calculate fetch along an input bearing

View source: R/lakeFetch.R

lakeFetchR Documentation

Function to calculate fetch along an input bearing

Description

The function calculates the maximum in lake distance of a line along an input bearing.

Usage

lakeFetch(inLakeMorpho, bearing, addLine = TRUE)

Arguments

inLakeMorpho

An object of lakeMorphoClass. Output of the lakeSurroundTopo function would be appropriate as input

bearing

Numeric that indicates the bearing of the desired fetch

addLine

Boolean to determine if the selected max length line should be added to the inLakeMorpho object. Defaults to True. Note that the line is returned in the same projection as the input data.

Value

Returns a numeric value indicating the length of the longest line in the lake along the input bearing. Units are the same as the input data.

References

Florida LAKEWATCH (2001). A Beginner's guide to water management - Lake Morphometry (2nd ed.). Gainesville: Florida LAKEWATCH, Department of Fisheries and Aquatic Sciences. Link

Examples

data(lakes)
lakeFetch(inputLM,45)

jhollist/lakemorpho documentation built on Jan. 12, 2024, 11:49 p.m.