GHL {aqp} | R Documentation |
Get or Set Generalized Horizon Label (GHL) Column Name
Description
GHL()
: Get column name containing generalized horizon labels
GHL<-
: Set generalized horizon label column name
Usage
## S4 method for signature 'SoilProfileCollection'
GHL(object, required = FALSE)
## S4 replacement method for signature 'SoilProfileCollection'
GHL(object, required = FALSE) <- value
Arguments
object |
a SoilProfileCollection |
required |
logical, is this attribute required? If it is, set to |
value |
character, name of column containing generalized horizon labels |
Details
Store the column name containing generalized horizon labels in the metadata slot of the SoilProfileCollection.
Examples
data(sp1)
# promote to SPC
depths(sp1) <- id ~ top + bottom
# set horizon designation column
GHL(sp1) <- "name"
# get horizon designation column
GHL(sp1)
[Package aqp version 2.0.4 Index]