View source: R/vertical_foliage_profile_function.R
vertical_foliage_profile | R Documentation |
Function that returns the vertical foliage profile for a given Lidar profile using the approach of Harding et al. (2001) which is based on the MacArthur-Horn method.
vertical_foliage_profile(profile, h.bin = 1, GR.threshold = 5, k = 0.5)
profile |
Vector of Lidar profile (with heights as names) |
h.bin |
Vertical extent of one height bin |
GR.threshold |
Height threshold below which everything is regarded as ground return (GR) and ignored in the processing |
k |
Light extinction coefficient, which is an adjustment factor from relative to absolute (LAD) VFP |
Vector of the vertical foliage profile (VFP)
Nikolai Knapp
prof.vec <- c(9, 2, 4, 5, 6, 3, 1)
names(prof.vec) <- 0:6
vfp.vec <- vertical.foliage.profile(profile=prof.vec, h.bin=1, GR.threshold=1, k=0.5)
plot(names(prof.vec) ~ prof.vec, type="l", xlab="Lidar returns", ylab="Height [m]")
plot(names(vfp.vec) ~ vfp.vec, type="l", xlab="LAD [m2/m3]", ylab="Height [m]")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.