# NOT RUN {
LASfile <- system.file("extdata", "Topography.laz", package="lidR")
las <- readLAS(LASfile, select = "xyzrn")
mycsf <- csf(TRUE, 1, 1, time_step = 1)
las <- lasground(las, mycsf)
plot(las, color = "Classification")
# }
Run the code above in your browser using DataLab