This function calculates the availability of Zn for plant uptake

calc_zinc_availability(B_LU_BRP, B_SOILTYPE_AGR, A_PH_CC, A_ZN_CC)

Arguments

B_LU_BRP

(numeric) The crop code from the BRP

B_SOILTYPE_AGR

(character) The agricultural type of soil

A_PH_CC

(numeric) The acidity of the soil, determined in 0.01M CaCl2 (-)

A_ZN_CC

The plant available Zn content, extracted with 0.01M CaCl2 (mg / kg)

Value

The function of the soil to supply zinc A numeric value.

Examples

calc_zinc_availability(B_LU_BRP = 265, B_SOILTYPE_AGR = 'dekzand',A_PH_CC = 4.5, A_ZN_CC = 3000)
#> [1] 33.85877
calc_zinc_availability(B_LU_BRP = 265, 'dekzand',4,3500)
#> [1] 21.11182
calc_zinc_availability(B_LU_BRP = c(1019,265), c('dekzand','rivierklei'),c(4.5,4.8),c(2500,4500))
#> [1] 48.73561 62.75559