Convert a dense point cloud to a DEM.
On macOS, needed to install cmake, pkg-config,udunits, and gdal using brew, e.g...
brew install cmake
brew install pkg-config
brew install udunits
brew install gdalTo process a point cloud, simply run the script from the terminal, passing in the point cloud file path as the argument.
RScript cloudtodem.R NEONDSSampleLiDARPointCloud.lasNote that only .LAS and .LAZ files are supported.