This function calculates the crumbleability index
Usage
osi_p_crumbleability(B_LU, A_CLAY_MI, A_SOM_LOI, A_PH_CC, B_COUNTRY)
Arguments
- B_LU
(numeric) The crop code
- A_CLAY_MI
(numeric) The clay content of the soil (%)
- A_SOM_LOI
(numeric) The organic matter content of the soil (%)
- A_PH_CC
(numeric) The pH measured in CaCl2
- B_COUNTRY
(character) The country code
Value
The function returns the crumbleability index
Examples
osi_p_crumbleability(B_LU = '256', A_CLAY_MI = 5, A_SOM_LOI = 3.5, A_PH_CC = 5.5, B_COUNTRY = 'NL')
#> [1] 1