lai: Calculates Leaf Area Index

View source: R/radiationtools.R

laiR Documentation

Calculates Leaf Area Index

Description

lai is used to calculate the total one-sided area of leaf tissue per unit ground surface area from the Normalized Difference Vegetation Index.

Usage

lai(red, nir, maxlai = 20)

Arguments

red

a raster object, two-dimensional array or matrix of reflectance values in the red spectral band.

nir

a raster 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.

Details

If red is a raster object, a raster 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.

Value

a raster object or two-dimensional array of numeric values representing the total one-sided area of leaf tissue per unit ground surface area.

See Also

function lai_adjust() for calculated leaf area index values at specified heights above the ground.

Examples

library(raster)
leaf <- lai(aerial_image[,,3], aerial_image[,,4])
plot(if_raster(leaf, dtm1m), main = "Leaf area index")

ilyamaclean/microclima documentation built on Oct. 31, 2023, 11:41 p.m.