Write a R program to convert a given pH levels of soil to an ordered factor.
Note: Soil pH is a measure of the acidity or basicity of a soil. pH is defined as the negative logarithm of the activity of hydronium ions in a solution.
In soils, it is measured in a slurry of soil mixed with water, and normally falls between 3 and 10, with 7 being neutral.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer