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

spc_in_sync

Quickly assess relative state of site and horizon slots


Description

Determine "state" of SoilProfileCollection before or after major modifications of site or horizon slot contents.

Two logical checks are performed on the site and horizon tables, and a third element valid returns TRUE when both checks are TRUE.

Check 1: Same number of sites in site as number of sites in horizons. No intermingling of IDs, no orphan horizons, no sites without horizons (for now)

Check 2: Site IDs match coalesced profile ID from horizons. Ensures the same relative ordering, but horizons still may be out of order within profiles

Usage

spc_in_sync(object)

Arguments

object

A SoilProfileCollection

Value

data.frame

Author(s)

Andrew G. Brown

data(sp5)

spc_in_sync(sp5)


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.