Learn R Programming

aqp (version 2.1.0)

genSlabLabels: Generate Labels for Slabs

Description

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,
  ...
)

Value

factor. slab IDs, labels are the segment top and bottom depth separated by "-"

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 to spc

...

Additional arguments passed to dice() when spc is specified.

Details

The new routine used in aqp 2.0 requires that, at a minimum, the spc and slab.structure arguments be specified.

See Also

slab()