This function calculates the NLV (nitrogen producing capacity) for the soil

calc_nlv(B_LU_BRP, B_SOILTYPE_AGR, A_N_RT, A_CN_FR, D_OC, D_BDS, D_GA)

Arguments

B_LU_BRP

(numeric) The crop code from the BRP

B_SOILTYPE_AGR

(character) The agricultural type of soil

A_N_RT

(numeric) The organic nitrogen content of the soil in mg N / kg

A_CN_FR

(numeric) The carbon to nitrogen ratio

D_OC

(numeric) The organic carbon content of the soil in kg C / ha

D_BDS

(numeric) The bulk density of the soil in kg / m3

D_GA

(numeric) The age of the grass if present

Value

The capacity of the soil to supply nitrogen (kg N / ha / yr). A numeric value.

Examples

calc_nlv(B_LU_BRP = 256, B_SOILTYPE_AGR = 'dekzand',A_N_RT = 2500, 
A_CN_FR = 11, D_OC = 86000,D_BDS = 1300, D_GA = 4)
#> [1] 103.7962
calc_nlv(1019,'dekzand',2315,13,86000,1345,0)
#> [1] 78.58252