Plot soil profiles below a dendrogram
plotProfileDendrogram(
x,
clust,
rotateToProfileID = FALSE,
scaling.factor = 0.01,
width = 0.1,
y.offset = 0.1,
dend.y.scale = max(clust$height * 2, na.rm = TRUE),
dend.color = par("fg"),
dend.width = 1,
dend.type = c("phylogram", "cladogram"),
debug = FALSE,
...
)
a data.frame
of IDs and linking structure
a SoilProfileCollection
object
a hierarchical clustering object generated by hclust
, cluster::agnes
, or cluster::diana
logical, attempt rotation of dendrogram according to original profile IDs, requires dendExtend
package
vertical scaling of the profile heights (may have to tinker with this)
scaling of profile widths
vertical offset for top of profiles
extent of y-axis (may have to tinker with this)
dendrogram line color
dendrogram line width
dendrogram type, passed to plot.phylo()
, either "phylogram" or "cladogram"
logical,optionally print debugging data
additional arguments to plotSPC
D.E. Beaudette
This function places soil profile sketches below a dendrogram.