calc_gap_fraction produces clumping index based on
gap fraction through the canopy.
Usage
calc_gap_fraction(m)
Arguments
m
the matrix of bin hits calculated as density of
LiDAR returns for each x column.
Details
This is a specific function that works using the adjusted matrix to calculate gap fraction through the canopy. This function also returns clumping index.