lakeMinorMajorRatio: Calculate the ratio of the minor axis length to major axis...

View source: R/lakeMinorMajorAxisRatio.R

lakeMinorMajorRatioR Documentation

Calculate the ratio of the minor axis length to major axis length

Description

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

Usage

lakeMinorMajorRatio(inLakeMorpho, addLine = TRUE)

Arguments

inLakeMorpho

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

addLine

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

Value

This returns a vector of numeric values indicating the length of the major and minor axes of the lake. Units are the same as the input data.

References

Link

Examples

data(lakes)
lakeMinorMajorRatio(inputLM)

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