Description Usage Arguments Value Note Author(s) Examples
View source: R/plot_soilProfile.R
This is a simple function for plotting soil profile data that is supplied in dataframe
form.
1 | plot_soilProfile(data, vals, depths, label="")
|
data |
dataframe; Usually a typical soil information data frame with identifier and soil depth labelled columns, followed by one or more columns of soil attribute or even soil categorical data. |
vals |
vector; Would generally point to a column of |
depths |
dataframe; Would generally point to the two columns of |
label |
character; An optional input the put a label on the x-axis, otherwise it will remain blank. |
Function returns a labeled plot of the soil profile information. The length of the bars corresponds to the value of the soil variable being plotted.
This function is really designed to plot one soil profile at a time. Would need to be inserted into another function if plotting of a collection of soil profiles is required.
Brendan Malone
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.