View source: R/plotGeomorphCrossSection.R
plotGeomorphCrossSection | R Documentation |
SoilProfileCollection
aligned to a geomorphic summary as cross-section.Present a SoilProfileCollection
aligned to a geomorphic summary as cross-section.
plotGeomorphCrossSection(
x,
type = c("line", "bar"),
g = "hillpos",
clust = TRUE,
col = c("#377EB8", "#4DAF4A", "#984EA3", "#FF7F00", "#E41A1C"),
...
)
x |
resulting list from |
type |
character, 'line' for line plot or 'bar' for barplot of geomorphic proportions |
g |
character, select a geomorphic summary. Currently 'hillpos' (2D hillslope position) is the only supported choice. |
clust |
logical, use clustering order of geomorphic proportions ( |
col |
character vector of colors |
... |
additional arguments to |
Additional arguments to aqp::plotSPC()
can be provided using options(.aqp.plotSPC.args = list(...))
. For example, adjustments to maximum depth and profile width can be set via: options(.aqp.plotSPC.args = list(max.depth = 150, width = 0.35)
. Default arguments can be reset with options(.aqp.plotSPC.args = NULL
).
When clust = TRUE
, especially for SoilProfileCollections
with a wide range in depth, it may be necessary to adjust the scaling.factor
argument to aqp::plotSPC()
via: options(.aqp.plotSPC.args = list(scaling.factor = 0.01))
. Larger values will increase the height of profile sketches.
D.E. Beaudette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.