R/NDMI.R

Defines functions NDMI

Documented in NDMI

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

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.