lai {leafR} | R Documentation |
calculates the lead area index (LAI)
lai(lad_profile, min = 1, max = 100)
lad_profile |
output of the lad.profile function |
min |
mix canopy height |
max |
max canopy height |
A numeric
containing the LAI calculated from the Leaf Area Density
The use of min and max arguments allowed the estimation of the LAI for different vertical strata
# 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