# Calculate Tree Traits from Terrestrial Lidar

## Documentation for package ‘tReeTraits’ version 0.1.2

- DESCRIPTION file.

## Help Pages

.read_qsm_raw | Read a PyTLidar QSM file
add_verticality | Add point-wise verticality from local PCA
basics_diagnostic_plot | Diagnostic Plot of Basic Tree Measurements
branch_distribution_plot | Diagnostic Plot of Branch Diameter Distribution
branch_size_distribution | Get Branch size distribution from a QSM
branch_volume_weighted_stats | Calculate volume weighted branch statistics
clean_las | Load, Recenter, and Remove low vegetation from 'LAS' object representing segmented tree
convex_hull_2D | Returns the convex hull representing vertical crown area
fit_taper_Kozak | Fit taper equation to QSM
full_diagnostic_plot | Generate a diagnostic plot to assess basic metrics and QSM output
get_area_profile | Generate area estimates of tree profile in segments
get_center_of_mass | Get center of mass from tree bole segments QSM (X, Y, Z)
get_com_offset | Horizontal offset of center of mass from QSM
get_crown_base | Estimate Crown base height of 'LAS' representing segmented tree.
get_crown_lever_arm | Calculate crown leverage from point cloud
get_crown_volume_alpha | Estimate crown volume by alpha shape volume
get_crown_volume_voxel | Estimate crown volume by voxelization
get_dbh | Extract diameter at breast height from 'LAS' object representing segmented tree.
get_height | Extract height from 'LAS' object representing segmented tree.
get_lacunarity | Calculate crown lacunarity from a tree crown
get_primary_branches | Extract primary branches from a QSM
get_stem_sweep | Calculate tree sweep from straight line from QMS
get_stem_tilt | Get tree tilt from QSM
get_width | Extract width from 'LAS' object representing segmented tree.
hull_diagnostic_plot | Diagnostic Plot of Crown Convex Hulls
internode_distances | Get internode distances between primary branches from a QSM
load_qsm | Load and Validate a QSM File
normalize_las | Normalize 'LAS' object representing segmented tree.
plot_qsm2d | Plot QSM in base R
plot_qsm3d | Plot QSM Cylinders in 3D
plot_tree | Make 3-panel plot of tree point cloud to check for errors
qsm_volume_distribution | Volume distribution from QSM
recenter_las | Recenter 'LAS' object representing segmented tree based on the bole location
rotate_las_z | Rotate 'LAS' object about the 'Z' axis
run_treeqsm | Run TreeQSM on a LAS/LAZ file using PyTLidar
segment_crown | Segment tree crown of 'LAS' representing segmented tree.
setup_pytlidar | Setup PyTLidar Python environment
taper_diagnostic_plot | Diagnostic Plot of Tree Taper
voxel_hull_2D | Returns an 'sf'representing the vertical crown area from voxelization
write_qsm | Save QSM results and patch parameters