metric_ndvi: Metric NDVI

View source: R/metric.R

metric_ndviR Documentation

Metric NDVI

Description

Calculates the Normalized Difference Vegetation Index.

Usage

metric_ndvi(red, nir)

Arguments

red

reflectance on the red band.

nir

reflectance on the near-infrared band.

Details

The normalizeed difference vegetation Index is calculated as NDVI = (nir - red) / (nir + red). Which results in a number between -1 and 1.


jvitorpinto/agmet documentation built on April 17, 2025, 5:05 p.m.