Skip to contents

This function calculates the nitrogen producing capacity of the soil, and applies correction factors used affecting N availability.

Usage

osi_c_nitrogen_eu(
  B_LU = NA_character_,
  A_CLAY_MI = NA_real_,
  A_SAND_MI = NA_real_,
  A_SOM_LOI = NA_real_,
  A_C_OF = NA_real_,
  A_N_RT = NA_real_
)

Arguments

B_LU

(character) The crop code

A_CLAY_MI

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

A_SAND_MI

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

A_SOM_LOI

(numeric) The percentage organic matter in the soil

A_C_OF

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

A_N_RT

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

Value

The capacity of the soil to supply nitrogen (kg N / ha / yr). A numeric value, converted to a OSI score.

Examples

osi_c_nitrogen_eu(B_LU = 'T1',A_CLAY_MI = 2.5, A_SAND_MI = 45, 
A_SOM_LOI = 4.5, A_C_OF = 22, A_N_RT=1240)
#> [1] 0.9999934
osi_c_nitrogen_eu(B_LU = c('T1','T2'),A_CLAY_MI = c(2.5,5.5), 
A_SAND_MI = c(45,45), A_SOM_LOI = c(4.5,7.5), A_C_OF = c(22,18), A_N_RT=c(1240,800))
#> [1] 0.9999934 0.9984400