View source: R/radiationtools.R
lai | R Documentation |
lai
is used to calculate the total one-sided area of leaf tissue per unit ground surface area from the Normalized Difference Vegetation Index.
lai(red, nir, maxlai = 20)
red |
a SpatRaster object, two-dimensional array or matrix of reflectance values in the red spectral band. |
nir |
a SpatRaster object, two-dimensional array or matrix of reflectance values in the near-infrared spectral band. |
maxlai |
an optional single numeric value representing the likely upper limit of Leaf Area Index to which all values are capped. |
If red
is a SpatRaster object, a SpatRaster object is returned. This function has been calibrated
using data derived from a small area of Cornwall only. It is strongly recommended that
locally calibrated values are obtained.
a raster object or two-dimensional array of numeric values representing the total one-sided area of leaf tissue per unit ground surface area.
function lai_adjust()
for calculated leaf area index values at specified heights above the ground.
library(terra)
leaf <- lai(aerial_image[,,3], aerial_image[,,4])
plot(if_raster(leaf, dtm1m), main = "Leaf area index")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.