lad.profile {leafR}R Documentation

This function calculate the lad profile from the input lad.voxels

Description

This function calculate the lad profile from the input lad.voxels

Usage

lad.profile(VOXELS_LAD, relative = FALSE)

Arguments

VOXELS_LAD

3D grid of LAD values (output of lad.voxels() function)

relative

produce lad profile by relative total LAI values. Indicate when usinh effective LAI

Value

A data.frame with the calculated Leaf Area Density

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)

lad_profile = lad.profile(VOXELS_LAD)
plot(lad_profile$height ~ lad_profile$lad, type = "l", ylim = c(0, 40),
     ylab = "Canopy height (m)", xlab = "LAD (m2/m3)")

# relative LAD PROFILE
relative.lad_profile = lad.profile(VOXELS_LAD, relative = TRUE)

plot(relative.lad_profile$height ~ relative.lad_profile$lad, type = "l", ylim = c(0, 40),
     ylab = "Canopy height (m)", xlab = "LAD (% of LAI)")


[Package leafR version 0.3.5 Index]