I'd like to export the LiDAR data according to their classification in a georeferenced raster format. Something that look like that:
Here is the code that I tested to retrieve the classification:
nonveg <- filter_poi(las, Classification != LASHIGHVEGETATION)
veg <- filter_poi(las, Classification == LASHIGHVEGETATION)
x <- plot(nonveg, color = "Classification", bg = "white", size = 3)
plot(veg, add = x)`