Learn R Programming

lakemorpho (version 1.3.2)

lakeMinorMajorRatio: 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)

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.

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

References

Link

Examples

Run this code
data(lakes)
lakeMinorMajorRatio(inputLM)

Run the code above in your browser using DataLab