Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

Arguments

x

a SoilProfileCollection object

byhz

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

Value

a SoilProfileCollection object


aqp

Algorithms for Quantitative Pedology

v1.29
GPL (>= 3)
Authors
Dylan Beaudette [aut, cre], Pierre Roudier [aut, ctb], Andrew Brown [aut, ctb]
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.