Learn R Programming

aqp (version 2.1.0)

checkSPC: Test for a valid SoilProfileCollection

Description

Test for a valid SoilProfileCollection

Usage

checkSPC(x)

Value

TRUE or FALSE. Consider using rebuildSPC() if FALSE.

Arguments

x

a SoilProfileCollection object

Author

D.E. Beaudette

Details

Test for valid SoilProfileCollection by checking for slots defined in the class prototype. Likely only used between major versions of aqp where internal structure of SoilProfileCollection has changed. Use checkHzDepthLogic to check for common errors in horizon depths.

See Also

rebuildSPC, checkHzDepthLogic