powered by
calc_vai calculates vegetation area index (VAI) from a normalized matrix of LiDAR data.
calc_vai
calc_vai(df, max.vai)
data frame of pcl data that has been corrected for light extinction using the normalize_pcl function.
normalize_pcl
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
# NOT RUN { pcl_vai <- calc_vai(pcl_norm, max.vai = 8) # }
Run the code above in your browser using DataLab