ind_magnesium {OBIC}R Documentation

Calculate the indicator for Magnesium

Description

This function calculates the indicator for the the Magnesium content of the soil by using the Mg-availability calculated by calc_magnesium_availability

Usage

ind_magnesium(D_MG, B_LU_BRP, B_SOILTYPE_AGR)

Arguments

D_MG

(numeric) The value of Mg calculated by calc_magnesium_availability

B_LU_BRP

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

B_SOILTYPE_AGR

(character) The type of soil

Value

The evaluated score for the soil function to supply magnesium for crop uptake. A numeric value.

Examples

ind_magnesium(D_MG = 125, B_LU_BRP = 265, B_SOILTYPE_AGR = 'dekzand')
ind_magnesium(D_MG = c(125,35), B_LU_BRP = c(265,256), B_SOILTYPE_AGR = rep('dekzand',2))
 

[Package OBIC version 3.0.2 Index]