metric_ndvi | R Documentation |
Calculates the Normalized Difference Vegetation Index.
metric_ndvi(red, nir)
red |
reflectance on the red band. |
nir |
reflectance on the near-infrared band. |
The normalizeed difference vegetation Index is calculated as NDVI = (nir - red) / (nir + red). Which results in a number between -1 and 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.