hztexclname | R Documentation |
hztexclname()
: Get column name containing horizon designation name
hztexclname<-
: Set horizon texture class column name for a SoilProfileCollection
## S4 method for signature 'SoilProfileCollection'
hztexclname(object, required = FALSE)
## S4 replacement method for signature 'SoilProfileCollection'
hztexclname(object, required = FALSE) <- value
object |
a SoilProfileCollection |
required |
logical, is this attribute required? If it is, set to |
value |
character, name of column containing horizon texture classes |
Store the column name containing horizon texture classes or other identifiers in the metadata slot of the SoilProfileCollection.
data(sp1)
# promote to SPC
depths(sp1) <- id ~ top + bottom
# set horizon texture class column
hztexclname(sp1) <- "texture"
# get horizon texture class column
hztexclname(sp1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.