Description Usage Arguments Value References Examples
NPCRI is an index that is associated with the chlorophyll content and can find applications in precission agriculture. Using the red and blue spectral bands, NPCRI captures the information needed to quantify chlorophyll and Nitrogen.
1 | NPCRI(B, R)
|
B |
A raster layer object with the reflectance values for the Blue band. |
R |
A raster layer object with the reflectance values for the Red band. |
NPCRI - Normalized Pigment Chlorophyll Ratio Index.
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)
NPCRI(x[[2]], x[[4]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.