voxelize_points_mean_attributes: helper function to voxelize a las element
Description
Calculate voxel mean values for all numeric attributes in the las@data table
including the XYZ-coordinates.
Usage
voxelize_points_mean_attributes(las, res)
Value
a las element with XYZ-coordinates as the voxel center and
X_gr,Y_gr,Z_gr as the center of gravity (mean point coordinates) as well as
all other numeric columns voxel mean values with their original name.