You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/soilColorIndices.R
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# miscellaneous soil color indices
2
2
3
3
#' @title Horizon Color Indices
4
-
#' @description Calculate basic horizon-level color indices for a SoilProfileCollection. Basic indices do not require aggregation over the whole profile or comparison to a "reference" (e.g. parent material) color. Includes Hurst (1977) Redness Index, Barron-Torrent Redness Index (1986) and Buntley-Westin Index (1965).
4
+
#' @description Calculate basic horizon-level color indices for a SoilProfileCollection. Basic indices do not require aggregation over the whole profile or comparison to a "reference" (e.g. parent material) color. Includes Hurst (1977) Redness Index, Barron-Torrent Redness Index (1986) and Buntley-Westin Index (1965). This is a wrapper method around several horizon-level indices. See the individual functions for more details.
5
5
#' @param p A SoilProfileCollection
6
6
#' @param hue Column name containing moist hue; default: "m_hue"
7
7
#' @param value Column name containing moist value; default: "m_value"
8
8
#' @param chroma Column name containing moist chroma; default: "m_chroma"
9
9
#' @return A data.frame containing unique pedon and horizon IDs and horizon-level color indices.
#' @param chroma A numeric vector containing Munsell chromas
67
69
#' @return A numeric vector of horizon redness index (higher values = redder).
68
70
#' @author Andrew G. Brown.
71
+
#' @references Barron, V. and Torrent, J. (1986), Use of the Kubelka—Munk theory to study the influence of iron oxides on soil colour. Journal of Soil Science, 37: 499-510. doi:10.1111/j.1365-2389.1986.tb00382.x
#' @param chroma_ref A numeric vector containing Munsell chroma(s) for reference material
84
87
#' @return A numeric vector reflecting horizon redness increase relative to a reference (e.g. parent) material.
85
88
#' @author Andrew G. Brown.
89
+
#' @references Harden, J.W. (1982) A quantitative index of soil development from field descriptions: Examples from a chronosequence in central California. Geoderma. 28(1) 1-28. doi: 10.1016/0016-7061(82)90037-4
#' @param value_ref A numeric vector containingMunsell value(s) for reference material
102
106
#' @return A numeric vector reflecting horizon darkening relative to a reference (e.g. parent) material.
103
107
#' @author Andrew G. Brown.
108
+
#' @references Harden, J.W. (1982) A quantitative index of soil development from field descriptions: Examples from a chronosequence in central California. Geoderma. 28(1) 1-28. doi: 10.1016/0016-7061(82)90037-4
#' @description Calculate "Color Development Equivalent" by the method of Buntley & Westin (1965) "A Comparative Study of Developmental Color in a Chestnut-Chernozem-Brunizem Soil Climosequence" DOI: 10.2136/sssaj1965.03615995002900050029x. Originally developed for Mollisols, the Buntley-Westin index has been used as a tool to separate soils based on depth to particular colors.
116
121
#' @param hue A character vector containing Munsell hues (e.g. "7.5YR")
117
122
#' @param chroma A numeric vector containing Munsell chromas
#' @return A numeric vector reflecting horizon color development.
119
124
#' @author Andrew G. Brown.
125
+
#' @references Buntley, G.J. and Westin, F.C. (1965), A Comparative Study of Developmental Color in a Chestnut‐Chernozem‐Brunizem Soil Climosequence. Soil Science Society of America Journal, 29: 579-582. doi:10.2136/sssaj1965.03615995002900050029x
#' @references Thompson, J.A. and Bell, J.C. (1996), Color Index for Identifying Hydric Conditions for Seasonally Saturated Mollisols in Minnesota. Soil Science Society of America Journal, 60: 1979-1988. doi:10.2136/sssaj1996.03615995006000060051x
0 commit comments