Description Usage Arguments Value Note Examples
calculates the lead area index (LAI)
1 |
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.