treeMap.positions | R Documentation |
data.table
Extracts the tree XY positions from a treeMap output.
treeMap.positions(map, plot = TRUE)
map |
object generated by |
plot |
|
signed data.table
of tree IDs and XY coordinates.
file = system.file("extdata", "pine_plot.laz", package="TreeLS")
tls = readTLS(file) %>%
tlsNormalize %>%
tlsSample
x = plot(tls)
map = treeMap(tls, map.hough(h_step = 1, max_h = 4))
add_treeMap(x, map, color='red')
xymap = treeMap.positions(map)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.