negData {soilassessment} | R Documentation |
Correcting negative entries in classes for intenisty of salt-affected soils
Description
Function to handle negative entries when assessing salt-affected soils
Usage
negData(vg,x)
Arguments
vg |
tag for soil property. Default is "ec" |
x |
numeric value of soil property to check |
Details
Three tags for soil properties are allowed: "ec", "ph", "esp"
Value
numeric value of soil property to correct. It return NA where negative "ec" or "esp" is involved or where ph<1 or ph>14
Author(s)
Christian Thine Omuto
Examples
negData("ph",14)
[Package soilassessment version 0.2.6 Index]