HzDepthLogicSubset {aqp}R Documentation

Subset SoilProfileCollection Objects or Horizons via checkHzDepthLogic

Description

This function removes profiles or horizons from a SoilProfileCollection that are flagged as having invalid horizon depth logic by checkHzDepthLogic. Invalid profiles may be created when setting byhz = TRUE; use caution as some functions may not work properly in the presence of gaps. Consider using fillHzGaps to fill these gaps.

Usage

HzDepthLogicSubset(x, byhz = FALSE)

Arguments

x

a SoilProfileCollection object

byhz

logical, evaluate horizon depth logic at the horizon level (profile level if FALSE)

Value

a SoilProfileCollection object

Note

This function cannot identify (and remove) overlapping horizons when byhz = TRUE.


[Package aqp version 2.0.4 Index]