Learn R Programming

OBIC (version 4.2.1)

ind_ph: Calculate the indicator for pH

Description

This function calculates the indicator for the pH of the soil by the difference with the optimum pH. This is calculated in calc_ph_delta.

Usage

ind_ph(D_PH_DELTA)

Value

The evaluated score for the soil function to buffer pH within optimum range for crop growth. A numeric value between 0 and 1.

Arguments

D_PH_DELTA

(numeric) The pH difference with the optimal pH.

Examples

Run this code
ind_ph(D_PH_DELTA = 0.8)
ind_ph(D_PH_DELTA = c(0.2,0.6,0.8,1.5))
 

Run the code above in your browser using DataLab