Algorithms for Quantitative Pedology
Symbolize Volume Fraction within a Soil Profile Collection Plot
Barron & Torrent (1986) Redness Index in LAB color space
Bootstrap Soil Texture Data
Multinominal Brier Score
Buntley-Westin (1965) Index
Estimate available water capacity for fine-earth fraction
Estimate boundaries of the U.S Soil Taxonomy Particle Size Control Sec...
Generate Labels for Slabs
Hurst (1977) Redness Index
Dissolving horizon boundaries by grouping variables
Intersecting horizon boundaries by horizon depths
Find lagged horizon values
Segmenting of Soil Horizon Data by Depth Interval
Ranking Systems for USDA Taxonomic Particle-Size and Substitute Classe...
Random Profile
Return a list representation of site and horizon level data
Confusion Index
Label placement based on a simulation of electrostatic forces
Find and Fill Horizon Gaps
Algorithms for Quantitative Pedology
Get IDs of Deepest Horizons by Profile
Store groupings within a profile collection.
Accumulate horizon depths, and reflect reversed depths, relative to ne...
Add Depth Brackets
Annotate Diagnostic Features
Return upper boundary of argillic horizon
Summarize Soil Colors
Plot aggregate soil color data
Probabilistic Estimation of Soil Depth within Groups
Calculate Relative Positions from Transect Data
Allocate soil properties within various classification systems.
Get aqp_df_class entry from metadata or return a safe value.
Check a SoilProfileCollection object for errors in horizon depths.
Test for a valid SoilProfileCollection
Coerce SoilProfileCollection with as()
Convert colors into Munsell Notation
Collapse Horizons within Profiles Based on Pattern Matching
Visualize soil colors in Munsell notation according to within-group fr...
Metrics of Contrast Suitable for Comparing Soil Colors
Color Contrast Plot
Soil Color Range via Quantiles
Combine SoilProfileCollection objects
Compare Site Level Attributes of a SoilProfileCollection
Color Contrast Chart
Soil Color Contrast
Apply rock fragment or salt correction to available water content
Determines threshold (minimum) clay content for argillic upper bound
Identify "equivalent" (whole number value/chroma) Munsell chips
Set horizon IDs
Create a (redundant) horizon-level attribute from a site-level attribu...
Get depth units from metadata
Get top or bottom depths of horizons matching a regular expression pat...
Initialize a SoilProfileCollection from data.frame
Return a vector of contributing fractions over a depth interval
Get or Set Diagnostic Horizon data in a SoilProfileCollection
Efficient Slicing of SoilProfileCollection
Objects
Set data in column of horizon or site data in a SoilProfileCollection
Get data from column of horizon or site data in a SoilProfileCollectio...
Add or change column of horizon or site data in a SoilProfileCollectio...
Get column of horizon or site data in a SoilProfileCollection
Duplicate Profiles of a SoilProfileCollection
Estimate dry soil colors from moist soil colors and vice versa.
Estimate Soil Depth
Evaluate Generalized Horizon Labels
Evaluate Missing Data within a SoilProfileCollection
Visual Explanation for plotSPC
Fix Overlap within a Sequence
Flag perfectly overlapping horizons within a SoilProfileCollection
Coarse Fragment Class Labels and Diameter
Sieve the Coarse Fraction of Soil
Generalize Horizon Names
Convert cross-tabulation to adjacency matrix.
Set horizon ID column name
Compute Pair-wise Distances of Soil Properties over Depth
Determine ML Horizon Boundaries
Estimate upper and lower boundary of argillic diagnostic subsurface ho...
Find all intervals that are potentially part of a Cambic horizon
Get Approximate Munsell Chip
Generate Soil Depth Class Matrix
Determine thickness of horizons (continuous from surface) matching a p...
Get or Set Generalized Horizon Label (GHL) Column Name
Subset soil horizon data using a depth or depth interval
Subset an SPC by applying glom to each profile
Subset SPC with pattern-matching for text-based attributes
Grouped Soil Profile Plot
Guess Appropriate Ordering for Generalized Horizon Labels
Guess Horizon Slot Column Names
Harden (1982) Melanization
Harden (1982) Rubification
Harmonize a property by profile-level denormalization for convenient v...
Find horizons with colors darker than a Munsell hue, value, chroma thr...
Get horizon-level metadata
Horizon Color Indices
Set horizon depth column names
Set horizon column names
Retrieve horizon data from SoilProfileCollection
Munsell Hue Reference and Position Searching
Visual Description of Munsell Hue Ordering
Allocate Particle Size Class for the Control Section.
Subset SoilProfileCollection
Objects or Horizons via `checkHzDepthLo...
Tests of horizon depth logic
Get horizon designation column name
Get or Set Horizon Designation Column Name
Convert Horizon Boundary Distinctness to Vertical Offset
Get or Set Horizon Metadata Column Name
Horizons Above or Below
Get or Set Horizon Texture Class Column Name
Convert Horizon Boundary Topography to Line Type
Create Representative Soil Profiles via L1 Estimator
Get the number of profiles in a SoilProfileCollection
Convert Horizon Boundary Topography to Vertical Offset
Horizon Transition Probabilities
Get profile ID column name
Initialize Spatial Data in a SoilProfileCollection
Make High Contrast Label Colors
Check for "empty" profiles in a SoilProfileCollection
Quickly Assemble a SoilProfileCollection
Eliminate duplicate instances of profile IDs in a list of SoilProfileC...
Get the maximum bottom depth in a SoilProfileCollection
Retrieve metadata from SoilProfileCollection
Get the minimum bottom depth in a SoilProfileCollection
Missing Data Grid
Mix Munsell Colors via Spectral Library
Calculate the minimum thickness requirement for Mollic epipedon
Convert Munsell Color Notation to other Color Space Coordinates (sRGB ...
Merge Munsell Hue, Value, Chroma converted to sRGB & CIELAB into a Soi...
Transform a SPC (by profile) with a set of expressions
Get names of columns in site and horizons table
Numerical Classification of Soil Profiles
Get the number of horizons in a SoilProfileCollection
Find Overlap within a Sequence
Lattice Panel Function for Soil Profiles
Parse Munsell Color Notation
Combine a list of SoilProfileCollection objects
Perturb soil horizon depths using boundary distinctness
Between Individual Distance Plot
Visualize Spectral Mixing of Munsell Colors
Visualize Color Quantiles
Plot Multiple SoilProfileCollection
Objects
Plot soil profiles below a dendrogram
Preview Colors
Set profile IDs
Iterate over profiles in a SoilProfileCollection
Soil Profile Group Labels
Soil Profile Information Index
Convert pH to/from Reaction Classes
Rebuild a SoilProfileCollection object
Select a subset of columns from a SoilProfileCollection
Re-order corrupted horizon data
Repair Problematic Lower Horizon Depths
Replace Data in Horizon Slot
Get or Set Restriction data in a SoilProfileCollection
sRGB to Munsell Color Conversion
Generate a SoilProfileCollection
of random profiles
Fix Overlap within a Sequence via Simulated Annealing
Shannon Entropy
SoilProfileCollection show method
DEPRECATED Simulate Soil Profiles
Simulate Soil Colors
Matrix/data.frame-like access to profiles and horizons in a SoilProfil...
Retrieve site data from SoilProfileCollection
Set site column names
Slab-Wise Aggregation of SoilProfileCollection Objects
Slicing of SoilProfileCollection Objects
Tukey's HSD Over Slices
Ranking Systems for USDA Soil Texture Classes
Soil Profile Color Signatures
Soil Color Palette
An S4 object representation of a group of soil profiles.
Get or Set Coordinate Reference System for SoilProfileCollection
Create Soil Profile Sketches
Soil Texture Color Palettes
Soil Texture Low-RV-High as Defined by Quantiles
Quickly assess relative state of site and horizon slots
SoilProfileCollection wrapper for mpspline2::mpspline()
Convert reflectance spectra to closest Munsell chip
Split a SoilProfileCollection object into a list of SoilProfileCollect...
Split a SoilProfileCollection
into a list based on types of horizon ...
Calculate Thickness of Horizons Matching Logical Criteria
Subset SPC based on result of performing function on each profile
Subset a SoilProfileCollection with logical expressions
Subset the horizons in a SoilProfileCollection using logical criteria
DEPRECATED use subset
Perform summaries on groups (from group_by
) and create new site or h...
Compute weighted naive and tau statistics for a cross-classificati...
Textural conversions
Thompson-Bell (1996) Index
Transform a SPC with expressions based on site or horizon level attrib...
Uniqueness within a SoilProfileCollection
via MD5 Hash
Check for valid spatial reference of profiles
Inflate / Deflate Horizon Thickness
Format a LaTeX table with results
The Algorithms for Quantitative Pedology (AQP) project was started in 2009 to organize a loosely-related set of concepts and source code on the topic of soil profile visualization, aggregation, and classification into this package (aqp). Over the past 8 years, the project has grown into a suite of related R packages that enhance and simplify the quantitative analysis of soil profile data. Central to the AQP project is a new vocabulary of specialized functions and data structures that can accommodate the inherent complexity of soil profile information; freeing the scientist to focus on ideas rather than boilerplate data processing tasks <doi:10.1016/j.cageo.2012.10.020>. These functions and data structures have been extensively tested and documented, applied to projects involving hundreds of thousands of soil profiles, and deeply integrated into widely used tools such as SoilWeb <https://casoilresource.lawr.ucdavis.edu/soilweb-apps>. Components of the AQP project (aqp, soilDB, sharpshootR, soilReports packages) serve an important role in routine data analysis within the USDA-NRCS Soil Science Division. The AQP suite of R packages offer a convenient platform for bridging the gap between pedometric theory and practice.
Useful links