This function calculates the pH index
Usage
osi_c_ph_ie(B_LU, A_PH_WA, A_SOM_LOI)
Arguments
- B_LU
(numeric) The crop code
- A_PH_WA
(numeric) The pH measured in water
- A_SOM_LOI
(numeric) The organic matter content of soil in percentage
Value
The pH index in Ireland. A numeric value.
Examples
osi_c_ph_ie(B_LU = '265',A_PH_WA = 5, A_SOM_LOI = 3.5)
#> [1] 0.0250764
osi_c_ph_ie(B_LU = c('265','1019'),A_PH_WA = c(3.5,5.5),A_SOM_LOI = c(3.5,6.5))
#> [1] 7.213695e-33 3.364289e-01