R/root_metrics.R
assign_depth_class.Rd
Classifies each segment into depth bins based on the start point Z coordinate.
assign_depth_class(df, bin_m = 0.2)
A data.frame with column pZ.
pZ
Bin width in meters. Default 0.2 (20 cm).
0.2
The same data.frame with added column depth_class (in cm).
depth_class