dice,SoilProfileCollection-method {aqp} | R Documentation |
Efficient Slicing of SoilProfileCollection
Objects
Description
Cut ("dice") soil horizons into 1-unit thick slices. This function replaces aqp::slice()
, which will be deprecated in aqp 2.0.
Usage
## S4 method for signature 'SoilProfileCollection'
dice(
x,
fm = NULL,
SPC = TRUE,
pctMissing = FALSE,
fill = FALSE,
strict = TRUE,
byhz = TRUE,
verbose = FALSE
)
Arguments
x |
a |
fm |
optional |
SPC |
return the diced |
pctMissing |
compute "percent missing data" by slice (when |
fill |
logical, fill with empty placeholder horizons in gaps within profiles, and/or, above/below interval specified in |
strict |
perform horizon depth logic checking / flagging / removal |
byhz |
Evaluate horizon depth logic at the horizon level ( |
verbose |
Print information about object size/memory usage. Default: |
Details
For large and potentially messy collections that may include missing horizon depth logic errors, consider using repairMissingHzDepths()
before dice()
. Consider using accumulateDepths()
before invoking dice()
on collections that may contain old-style O horizon notation (e.g. 5-0cm).
Value
a SoilProfileCollection
object, or data.frame
when SPC = FALSE
Author(s)
D.E. Beaudette and A.G. Brown
See Also
repairMissingHzDepths()
, accumulateDepths()
, fillHzGaps()