R/NDWI.R

Defines functions NDWI

Documented in NDWI

#' @export
NDWI <- function(GREEN, NIR){
  NDWI = (GREEN - NIR)/(GREEN + NIR)
  return(NDWI)
}

Try the VegSpecIndex package in your browser

Any scripts or data that you put into this service are public.

VegSpecIndex documentation built on April 4, 2025, 4:28 a.m.