reduceSPC: Select a subset of columns from a SoilProfileCollection

View source: R/reduce.R

reduceSPCR Documentation

Select a subset of columns from a SoilProfileCollection

Description

Reduce the number of columns in a SoilProfileCollection to a minimal set plus additional selected columns. Optional metadata columns are included if set. At a minimum the profile ID, horizon top and bottom depths, and horizon ID are included. Horizon designation and horizon texture class column names are included if metadata attributes are set. See details.

Usage

reduceSPC(p, column_names = NULL)

Arguments

p

a SoilProfileCollection

column_names

a set of additional columns to include in the result

Details

Minimum column names included (when column_names = NULL)

  • idname(p), horizonDepths(p), hzidname(p)

Optional column names included (when metadata are set)

  • hzdesgnname(p), hztexclname(p), GHL(p)

Value

a SoilProfileCollection

See Also

hzdesgnname() hztexclname() GHL()


ncss-tech/aqp documentation built on April 19, 2024, 5:38 p.m.