Skip to contents

This function calculates the pH index

Usage

osi_c_ph_uk(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 UK A numeric value.

Examples

osi_c_ph_uk(B_LU = '265',A_PH_WA = 5, A_SOM_LOI = 4)
#> [1] 6.117766e-12
osi_c_ph_uk(B_LU = c('265','1019'),A_PH_WA = c(3.5,5.5), A_SOM_LOI = c(3.5,4))
#> [1] 5.757637e-31 1.097182e-05