Skip to contents

This function calculates the magnesium availability.

Usage

osi_c_magnesium_dk(B_LU, A_MG_AL)

Arguments

B_LU

(numeric) The crop code

A_MG_AL

(numeric) The Mg-content of the soil extracted with ammonium lactate (mg Mg / kg)

Value

The magnesium availability index in Denmark derived from extractable soil Mg fractions. A numeric value.

Examples

osi_c_magnesium_dk(B_LU = 265,A_MG_AL = 5)
#> [1] 0.002232308
osi_c_magnesium_dk(B_LU = c(265,1019),A_MG_AL = c(3.5,5.5))
#> [1] 0.001260067 0.002678372