calcPhDelta
@nmi-agro/fdm-source / fdm-calculator/src / calcPhDelta
Function: calcPhDelta()
calcPhDelta(
params):number|null
Defined in: fdm-calculator/src/bcs/ph-delta.ts:619
Calculates D_PH_DELTA: the difference between the optimal and measured soil pH.
Ports the OBIC calc_ph_delta function from R using embedded lookup tables from
Handboek Bodem en Bemesting (tables 5.1, 5.2, 5.3).
Returns null if no matching row is found in the lookup table (e.g. out-of-range inputs).
Source: https://github.com/nmi-agro/Open-Bodem-Index-Calculator/blob/master/R/ph.R
Parameters
params
Returns
number | null