Description Usage Arguments Value References Examples
MSAVI minimizes the effect of bare soil on the Soil Adjusted Vegetation Index.
1 | MSAVI(R, NIR)
|
R |
A raster layer object with the reflectance values for the Red band. |
NIR |
A raster layer object with the reflectance values for the Near Infrared band. |
MSAVI - Modified Soil Adjusted Vegetation Index.
https://www.usgs.gov/core-science-systems/nli/landsat/landsat-surface-reflectance-derived-spectral-indices. https://www.geo.university/pages/spectral-indices-with-multispectral-satellite-data.
1 2 3 4 5 | library(raster)
path_files <- system.file("extdata/", package="nightmares")
bands <- stack(list.files(path_files,".tif", full.names=TRUE))
x <- ref_oli(bands, sun.elev= 67.97)
MSAVI(x[[4]], x[[5]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.