R/cec.R
calc_aggregatestability.Rd
This function calculates an aggregate stability index given the CEC and its occupation with major cations.
calc_aggregatestability(
B_SOILTYPE_AGR,
A_SOM_LOI,
A_K_CO_PO,
A_CA_CO_PO,
A_MG_CO_PO
)
The aggregate stability index of a soil given the Cation Exchange Capacity and its composition with major cations. A numeric value.
calc_aggregatestability(B_SOILTYPE_AGR = 'dekzand', A_SOM_LOI = 3.5,
A_K_CO_PO = 6,A_CA_CO_PO = 83 ,A_MG_CO_PO = 9)
#> [1] 0.03224903
calc_aggregatestability(B_SOILTYPE_AGR = c('dekzand','rivierklei'), A_SOM_LOI = c(3.5,6.5),
A_K_CO_PO = c(6,9),A_CA_CO_PO = c(83,75) ,A_MG_CO_PO = c(9,4))
#> [1] 0.03224903 0.09674709