Learn R Programming

aqp (version 1.27)

hztexclname<-: Set horizon texture class column name

Description

Set horizon texture class column name for a SoilProfileCollection

Arguments

object

a SoilProfileCollection

value

character, name of column containing horizon texture classes

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab