calc_vai function

Calculate vegetation area index (VAI) from normalized PCL data matrix

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)

Arguments

  • 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.

Returns

a matrix of vai by x, z in the canopy

Examples

pcl_vai <- calc_vai(pcl_norm, max.vai = 8)