This method is used by slab()
for generating labels that assign IDs to layers in a SoilProfileCollection
genSlabLabels(
slab.structure = 1,
max.d = NULL,
n.profiles = NULL,
spc = NULL,
diced = NULL,
...
)
A user-defined slab thickness (defined by an integer), or user-defined structure (numeric vector). See details for slab()
.
Maximum depth
Number of profiles
Optional: A SoilProfileCollection
Optional: The dice()
-ed horizon-level data.frame corresponding to spc
Additional arguments passed to dice()
when spc
is specified.
factor. slab IDs, labels are the segment top and bottom depth separated by "-"
The new routine used in aqp 2.0 requires that, at a minimum, the spc
and slab.structure
arguments be specified.