R/NDVI.R

Defines functions NDVI

Documented in NDVI

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

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.