Description Usage Arguments Examples
Calculates the NDVI, defined as: (nir - red) / (nir + red).
1 2 3 4 5 6 7 8 9 10 |
red |
red |
nir |
near-infrared |
... |
additional arguments as for |
1 2 3 | NDVI_img <- NDVI(red=raster(L5TSR_1986, layer=3), nir=raster(L5TSR_1986,
layer=4))
plot(NDVI_img)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.