Learn R Programming

aqp (version 2.1.0)

HzDepthLogicSubset: 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)

Value

a SoilProfileCollection object

Arguments

x

a SoilProfileCollection object

byhz

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