Learn R Programming

lakemorpho

The purpose of lakemorpho is to provide a suite of tools that can be used to calculate basic lake morphometry metrics from an input SpatialPolygonsDataframe of a lake and a digital elevation model, as a RasterLayer, for the terrain surrounding that lake. These tools are being used to calculate lake morphometry metrics for all "lakepond" waterbodies in the NHDPlus V2.

For a detailed description of the package and its use, see:

Hollister J and Stachelek J. lakemorpho: Calculating lake morphometry metrics in R [version 1; referees: 2 approved]. F1000Research 2017, 6:1718 (doi: 10.12688/f1000research.12512.1)

Metrics Included

lakemorpho calculates the following metrics

  • Surface Area
  • Shoreline Length
  • Shoreline Development
  • Maximum Depth
  • Mean Depth
  • Lake Volume
  • Maximum Lake Length
  • Mean Lake Width
  • Maximum Lake Width
  • Major and Minor Axis
  • Fetch from a specified bearing

To install

Install version 1.1.0 of lakemorpho from CRAN:

install.packages("lakemorpho")
require(lakemorpho)

Install development version of lakemorpho from GitHub:

install.packages("devtools")
require(devtools)
install_github("USEPA/lakemorpho")
require(lakemorpho)

EPA Disclaimer

The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.

Copy Link

Version

Install

install.packages('lakemorpho')

Monthly Downloads

268

Version

1.3.2

License

CC0

Issues

Pull Requests

Stars

Forks

Last Published

September 22nd, 2023

Functions in lakemorpho (1.3.2)

calcLakeMetrics

Calculate all Lake Morphometry Metrics
lakeMaxWidth

Function to find line representing maximum lake Width
exampleElev

Elevation Data for lakemorpho examples
lakeMeanDepth

Function to return lake Mean Depth
lakeVolume

Calculates Lake Volume in R
lakemorpho

Lake Morphometry in R
lakeMaxDepth

Estimate maximum lake depth
lakeMaxLength

Calculate maximum lake length
lakeSurroundTopo

Calculate surrounding topography for lake
lakeSurfaceArea

Return lake surface area
lakeFetch

Function to calculate fetch along an input bearing
inputLM

lakemorpho class data for lakemorpho examples
exampleLake

Lake Data for lakemorpho examples
lakeMinorMajorRatio

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

Function to calculate shoreline development
lakeShorelineLength

Function to calculate shoreline length
lakeMeanWidth

Function to return lake Mean Width
lakeMajorAxisLength

Calculate the length of the major axis for lake
lakeMinorAxisLength

Calculate the length of the minor axis for lake
lakeMorphoClass

Function to create a lakeMorpho class - this is input to all other methods
plot.lakeMorpho

Default plotting of a lakeMorpho object