[,SoilProfileCollection-method {aqp}R Documentation

Matrix/data.frame-like access to profiles and horizons in a SoilProfileCollection

Description

You can access the contents of a SoilProfileCollection by profile and horizon "index", i and j, respectively: spc[i, j, ...]. Subset operations are propagated to other slots (such as diagnostics or spatial) when they result in removal of sites from a collection.

Usage

## S4 method for signature 'SoilProfileCollection'
x[i, j, ..., drop = TRUE]

Arguments

x

a SoilProfileCollection

i

a numeric or logical value denoting profile indices to select in a subset

j

a numeric or logical value denoting horizon indices to select in a subset

...

non-standard expressions to evaluate in a subset

drop

Default: TRUE. When drop=FALSE placeholder horizons (profile ID with all other values NA) are created where the specified j index results in removal of all horizons.


[Package aqp version 2.0.2 Index]