View source: R/addVolumeFraction.R
| addVolumeFraction | R Documentation |
Symbolize volume fraction on an existing soil profile collection plot.
addVolumeFraction(
x,
colname,
res = 10,
cex.min = 0.1,
cex.max = 0.5,
pch = 1,
col = "black"
)
x |
a |
colname |
character vector of length 1, naming the column containing volume fraction data (horizon-level attribute). Values should be within 0-100 percent. |
res |
integer, resolution of the grid used to symbolize volume fraction |
cex.min |
minimum symbol size |
cex.max |
maximum symbol size |
pch |
integer, plotting character code |
col |
symbol color, either a single color or as many colors as there are horizons in |
This function can only be called after plotting a SoilProfileCollection object. Details associated with a call to plotSPC() are automatically accounted for within this function: e.g. plot.order, width, etc..
It may be necessary to adjust both res, cex.min, and cex.max for optimal legibility.
D.E. Beaudette
plotSPC()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.