This function calculates the indicator for the the nitrogen content of the soil by using the NLV calculated by calc_nlv

ind_nitrogen(D_NLV, B_LU_BRP)

Arguments

D_NLV

(numeric) The value of NLV calculated by calc_nlv

B_LU_BRP

(numeric) The crop code from the BRP

Value

The evaluated score for the soil function to supply nitrogen for crop uptake. A numeric value between 0 and 1.

Examples

ind_nitrogen(D_NLV = 85,B_LU_BRP = 256)
#> [1] 0.9775
ind_nitrogen(D_NLV = c(150,65,35),B_LU_BRP = c(256,1019,1019))
#> [1] 1.0000 0.8775 0.5775