Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hzidname

Set horizon ID column name


Description

Set unique horizon ID column name

Get column name containing unique horizon ID

Arguments

value

character, column name containing unique horizon ID values

object

a SoilProfileCollection

Examples

data(sp1)

# promote to SPC
depths(sp1) <- id ~ top + bottom

# create new horizon ID
sp1$hzIDrev <- rev(sp1$hzID)

# set horizon designation column
hzidname(sp1) <- "hzIDrev"

# get horizon designation column
hzidname(sp1)

aqp

Algorithms for Quantitative Pedology

v1.29
GPL (>= 3)
Authors
Dylan Beaudette [aut, cre], Pierre Roudier [aut, ctb], Andrew Brown [aut, ctb]
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.