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