Skip to content

aqp 1.31

Compare
Choose a tag to compare
@dylanbeaudette dylanbeaudette released this 19 Aug 20:11
· 901 commits to master since this release

Enhancements / Bug Fixes

  • bug fix in checkHzDepthLogic() when byhz = TRUE
  • aggregateColor() now uses mixMunsell for the estimation of soil color mixtures
  • plotColorMixture() will respect "names" attribute of colors-to-mix, without erroneous alpha-sorting
  • parseMunsell() now more robust and faster, c/o P. Roudier
  • mixMunsell:
    • new method exact for direct conversion of mixture spectra to sRGB or closest Munsell chip (via spec2Munsell())
  • glom() z1 and z2 arguments vectorized to allow for profile-specific intervals
    • z1 and z2 support non-standard evaluation based on column names in siteNames(p), and also can take character vector (length 1) with column names in siteNames(p)
  • depthOf(), minDepthOf(), maxDepthOf(), getSurfaceHorizonDepth(), getMineralSoilSurfaceDepth(), getPlowLayerDepth() can now be applied to multiple profiles.
    • If the input SoilProfileCollection has more than one profile then result is a data.frame containing profile ID, top or bottom depths, horizon designation and pattern

New Functions / Data

  • new function colorChart() for graphical depiction of Munsell chip frequency by group
  • unique method for SoilProfileCollection objects now returns a SoilProfileCollection by default
    • this may break existing code! use the new argument SPC = FALSE for previous behavior (#159)
  • new convenience function PMS2Munsell() for converting PMS codes -> closest Munsell chip (#124)