# NOT RUN {
LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR")
las = readLAS(LASfile, select = "xyz", filter = "-drop_z_below 0")
col = pastel.colors(200)
# Li 2012
lastrees_li2(las)
plot(las, color = "treeID", colorPalette = col)
# }
Run the code above in your browser using DataLab