This function calculates the phosphate availability. This value can be evaluated by ind_phosphate_availability

calc_phosphate_availability(
  B_LU_BRP,
  A_P_AL = NULL,
  A_P_CC = NULL,
  A_P_WA = NULL
)

Arguments

B_LU_BRP

(numeric) The crop code from the BRP

A_P_AL

(numeric) The P-AL content of the soil

A_P_CC

(numeric) The P-CaCl2 content of the soil

A_P_WA

(numeric) The P-content of the soil extracted with water

Value

The phosphate availability index estimated from extractable soil P fractions. A numeric value.

Examples

calc_phosphate_availability(B_LU_BRP = 265, A_P_AL = 45, A_P_CC = 2.5)
#> [1] 3.88342
calc_phosphate_availability(c(265,1019),A_P_AL = c(35,54),A_P_CC = c(2.5,4.5), A_P_WA = c(35,65))
#> [1] 3.987877 6.500000