Learn R Programming

lakemorpho (version 1.3.2)

lakeMajorAxisLength: Calculate the length of the major axis for lake

Description

Major axis length is defined as the maximum length spanning the convex hull of a lake.

Usage

lakeMajorAxisLength(inLakeMorpho, addLine = TRUE)

Value

This returns a numeric value indicating the length of the major axis in the lake. Units are the same as the input data.

Arguments

inLakeMorpho

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

addLine

Boolean to determine if the selected major axis line should be added to the inLakeMorpho object. Defaults to True

References

Wikipedia

Kirillin, G., Engelhardt, C., Golosov, S. and Hintze, T., 2009. Basin-scale internal waves in the bottom boundary layer of ice-covered Lake Mueggelsee, Germany. Aquatic ecology, 43(3), pp.641-651.

Examples

Run this code
data(lakes)
lakeMajorAxisLength(inputLM)

Run the code above in your browser using DataLab