Calculate vegetation area index (VAI) from normalized PCL data matrix
calc_vai
calculates vegetation area index (VAI) from a normalized matrix of LiDAR data.
calc_vai(df, max.vai)
df
: data frame of pcl data that has been corrected for light extinction using the normalize_pcl
function.max.vai
: the maximum value of column VAI. The default is 8. Should be a max value, not a mean.a matrix of vai by x, z in the canopy
pcl_vai <- calc_vai(pcl_norm, max.vai = 8)