powered by
Extracts the X, Y, and Z coordinates from a LAS object and returns them as a matrix.
las2xyz(las)
A numeric matrix with three columns (X, Y, Z) containing the point coordinates
LAS object to convert
# \donttest{ LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR") las <- readLAS(LASfile) xyz_matrix <- las2xyz(las) head(xyz_matrix) # }
Run the code above in your browser using DataLab