# NOT RUN {
### single tree
file = system.file("extdata", "spruce.laz", package="TreeLS")
tls = readTLS(file)
tls = stemPoints(tls)
df = stemSegmentation(tls)
tlsPlot(tls, df)
### For further examples check:
?stemSegmentation
# }
Run the code above in your browser using DataLab