Skip to content

aqp v1.17

Compare
Choose a tag to compare
@dylanbeaudette dylanbeaudette released this 30 Dec 04:12
· 2078 commits to master since this release
3aecd65

This is the last major release of the 1.x series. Future development will focus on the 2.x series of releases.

Important Changes

SoilProfileCollection

Pre-v1.17 soilProfileCollection objects can be checked and rebuilt using ideas from #74. Further documentation pendning.

Structure before v1.17.

Formal class 'SoilProfileCollection' [package "aqp"] with 7 slots
  ..@ idcol     : chr "soil"
  ..@ depthcols : chr [1:2] "top" "bottom"
  ..@ metadata  :'data.frame':	1 obs. of  1 variable:
  ..@ horizons  :'data.frame':	1539 obs. of  18 variables:
  ..@ site      :'data.frame':	296 obs. of  1 variable:
  ..@ sp        :Formal class 'SpatialPoints' [package "sp"] with 3 slots
  ..@ diagnostic:'data.frame':	0 obs. of  0 variables

Structure as of v1.17, note the new hzidcol slot.

Formal class 'SoilProfileCollection' [package "aqp"] with 8 slots
  ..@ idcol     : chr "soil"
  ..@ hzidcol   : chr "hzID"
  ..@ depthcols : chr [1:2] "top" "bottom"
  ..@ metadata  :'data.frame':	1 obs. of  1 variable:
  ..@ horizons  :'data.frame':	1539 obs. of  18 variables:
  ..@ site      :'data.frame':	296 obs. of  1 variable:
  ..@ sp        :Formal class 'SpatialPoints' [package "sp"] with 3 slots
  ..@ diagnostic:'data.frame':	0 obs. of  0 variables

rbind.SoilProfileCollection

Has been deprecated in favor of aqp::union(), and gains new functionality.

Enhancements

Soil Color Related

  • aggregateColor() gets a new feature, similar colors can be grouped via cluster::pam()
  • new functions: previewColors(), colorQuantiles(), plotColorQuantiles()

SoilProfileCollection Management

  • horizonDepths()<-, edit top/bottom names after SoilProfileCollection init
  • profile_id()<-, edit profile IDs after init; be careful!
  • hzID() and hzID()<-, get/set unique horizon IDs
  • hzidname() and hzidname()<-, get/set column containing unique horizon IDs
  • checkSPC and rebuildSPC

Soil Taxonomy Related

  • argillic.clay.increase.depth
  • crit.clay.argillic
  • estimatePSCS
  • get.increase.depths
  • get.increase.matrix
  • getArgillicBounds
  • getSurfaceHorizonDepth

Horizon Intersection (glom) Related

  • clod.hz.ids
  • glom

New / Updated Documentation

Bug Fixes

  • sanity checks within horizonNames()<-

Misc. Changes

Note that some un-used sample data have been removed. The sp5 sample dataset has been re-made to include the new @hzidcol slot.