Skip to contents

This function calculates the magnesium availability.

Usage

osi_c_magnesium_ie(B_LU, A_SOM_LOI, A_MG_NaAAA)

Arguments

B_LU

(numeric) The crop code

A_SOM_LOI

(numeric) The percentage organic matter in the soil (%)

A_MG_NaAAA

(numeric) The Mg-content of the soil extracted with Morgan's solution, sodium acetate acetic acid (mg/ kg)

Value

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

Examples

osi_c_magnesium_ie(B_LU = 265,A_SOM_LOI = 2,A_MG_NaAAA = 5)
#> [1] 0.061685
osi_c_magnesium_ie(B_LU = c(265,1019),A_SOM_LOI = c(2,4),A_MG_NaAAA = c(3.5,5.5))
#> [1] 0.04482424 0.06334950