Skip to contents

This function calculates the phosphate excess.

Usage

osi_nut_p_es(B_LU, A_CLAY_MI, A_SAND_MI, A_P_OL)

Arguments

B_LU

(numeric) The crop code

A_CLAY_MI

(numeric) The clay content of the soil (%)

A_SAND_MI

(numeric) The sand content of the soil (%)

A_P_OL

(numeric) The P-content of the soil extracted with Olsen (mg/kg)

Value

The phosphate excess index in Spain derived from extractable soil P fractions. A numeric value.

Examples

osi_nut_p_es(B_LU = 265,A_CLAY_MI = 5,A_SAND_MI = 25, A_P_OL = 5)
#> [1] 0.9639066
osi_nut_p_es(B_LU = c(265,1019),A_CLAY_MI = c(5,10),
A_SAND_MI = c(25,15),A_P_OL = c(3.5,5.5))
#> [1] 0.9674534 0.9626447