View source: R/plotProfileDendrogram.R
plotProfileDendrogram | R Documentation |
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,
...
)
x |
a |
clust |
a hierarchical clustering object generated by |
rotateToProfileID |
logical, attempt rotation of dendrogram according to original profile IDs, requires |
scaling.factor |
vertical scaling of the profile heights (may have to tinker with this) |
width |
scaling of profile widths |
y.offset |
vertical offset for top of profiles |
dend.y.scale |
extent of y-axis (may have to tinker with this) |
dend.color |
dendrogram line color |
dend.width |
dendrogram line width |
dend.type |
dendrogram type, passed to |
debug |
logical,optionally print debugging data |
... |
additional arguments to |
This function places soil profile sketches below a dendrogram.
a data.frame
of IDs and linking structure
You may have to tinker with some of the arguments to get optimal arrangement and scaling of soil profiles.
D.E. Beaudette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.