Set the class lasmetrics to a data.frame. Useful when reading data from a file. In this case the data.frame does not have the class lasmetrics and cannot easily be plotted or transformed into a raster
as.lasmetrics(x, res)
A data.frame or a data.table
numeric the original resolution
Nothing. Object is updated in place by reference.
Other cast: as.SpatialPixelsDataFrame
,
as.SpatialPointsDataFrame
,
as.raster.lasmetrics