| ind_nretention | R Documentation | 
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
ind_nretention(D_NW, leaching_to)
D_NW | 
 (numeric) The value of N leaching calculated by   | 
leaching_to | 
 (character) whether it evaluates N leaching to groundwater ("gw") or to surface water ("ow")  | 
The evaluated score for the soil function to supply nitrogen for crop uptake. A numeric value between 0 and 1.
ind_nretention(D_NW = 15,leaching_to = 'gw')
ind_nretention(D_NW = c(.2,5.6,15.6),leaching_to = 'ow')
 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.