lai {leafR} | R Documentation |
calculates the lead area index (LAI)
Description
calculates the lead area index (LAI)
Usage
lai(lad_profile, min = 1, max = 100)
Arguments
lad_profile |
output of the lad.profile function |
min |
mix canopy height |
max |
max canopy height |
Value
A numeric
containing the LAI calculated from the Leaf Area Density
Note
The use of min and max arguments allowed the estimation of the LAI for different vertical strata
Examples
# Get the example laz file
normlas.file = system.file("extdata", "lidar_example.laz", package="leafR")
# Calculate LAD from voxelization
VOXELS_LAD = lad.voxels(normlas.file,
grain.size = 2)
# Calculate the LAD profile
lad_profile = lad.profile(VOXELS_LAD)
lidar.lai = lai(lad_profile); lidar.lai
understory.lai = lai(lad_profile, min = 1, max = 5); understory.lai
# relative LAD PROFILE
relative.lad_profile = lad.profile(VOXELS_LAD, relative = TRUE)
#understory relative LAI (% of total LAI)
relative.understory.lai = lai(relative.lad_profile, min = 1, max = 5); relative.understory.lai
[Package leafR version 0.3.5 Index]