ind_nretention: Calculate the indicator for N retention for groundwater or surface water
Description
This function calculates the indicator for the N retention of the soil by using the N leaching to groundwater or surface water calculated by calc_nleach
Usage
ind_nretention(D_NW, leaching_to)
Value
The evaluated score for the soil function to supply nitrogen for crop uptake. A numeric value between 0 and 1.
Arguments
D_NW
(numeric) The value of N leaching calculated by calc_nleach
leaching_to
(character) whether it evaluates N leaching to groundwater ("gw") or to surface water ("ow")