This function determines the depth of the soil

calc_root_depth(B_LU_BRP)

Arguments

B_LU_BRP

(numeric) The crop code (gewascode) from the BRP

Value

The root depth of a crop corresponding to the sampling depth analyzed by agricultural labs. A numeric value.

Details

This is a helper function to estimate the rooting depth of crops, as being used for calculations for soil nutrient supplies. Be aware, this is not the real rooting depth; it rather represents the sampling depth of the soils collected for routine soil analsyis.

Examples

calc_root_depth(B_LU_BRP = 256)
#> [1] 0.25
calc_root_depth(B_LU_BRP = c(256,265,1019,992))
#> [1] 0.25 0.10 0.25 0.25