This function calculates the indicator for the the Cu availability in soil by using the Cu-index as calculated by calc_copper_availability

ind_copper(D_CU, B_LU_BRP)

Arguments

D_CU

(numeric) The value of Cu-index calculated by calc_copper_availability

B_LU_BRP

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

Value

The evaluated score for the soil function to supply copper for crop uptake. A numeric value between 0 and 1.

Examples

ind_copper(D_CU = 125, B_LU_BRP = 265)
#> [1] 1
ind_copper(D_CU = c(125,335), B_LU_BRP = c(1019,256))
#> [1] 1 1