powered by
This function calculates an index for the availability of Magnesium in soil
calc_magnesium_availability( B_LU_BRP, B_SOILTYPE_AGR, A_SOM_LOI, A_CLAY_MI, A_PH_CC, A_CEC_CO, A_K_CO_PO, A_MG_CC, A_K_CC )
An index representing the availability of Magnesium in a soil. A numeric value.
(numeric) The crop code from the BRP
(character) The agricultural type of soil
(numeric) The percentage organic matter in the soil (%)
(numeric) The clay content of the soil (%)
(numeric) The acidity of the soil, measured in 0.01M CaCl2 (-)
(numeric) The cation exchange capacity of the soil (mmol+ per kg), analyzed via Cobalt-hexamine extraction
(numeric) The occupation of the CEC with potassium (%)
(numeric) The plant available content of Mg in the soil (mg Mg per kg) extracted by 0.01M CaCl2
(numeric) The plant available potassium, extracted with 0.01M CaCl2 (mg per kg),
calc_magnesium_availability(B_LU_BRP = 265, B_SOILTYPE_AGR = 'dekzand', A_SOM_LOI = 3.5,A_CLAY_MI = 8.5,A_PH_CC = 5.4, A_CEC_CO = 185,A_K_CO_PO = 4.5,A_MG_CC = 125,A_K_CC = 65)
Run the code above in your browser using DataLab