glom()
returns a "clod" of horizons from a SoilProfileCollection from a depth interval.
All horizons included within the specified interval are returned in their entirety (not just the portion within the interval), unless the truncate
argument is specified. Horizon intersection is based on unique ID hzidname(spc)
and attribute of interest.
If intersection at the specified boundaries ['z1', 'z2']
results in no horizon data, 'NULL' is returned with a warning containing the offending pedon ID.
If inverting results with invert
, it is possible that thick horizons (that span more than the entire glom interval) will be split into two horizons. This may make the results from ids = TRUE
different from what you expect, as they will be based on a profile with an "extra" horizon.