Description Usage Arguments Value Examples
View source: R/soil_carbon.plot.R
Plots soil carbon as scatterplot. Points from ranch identified are black, and all others are grayed out. Points are labeled automatically unless specified with labels = FALSE
1 2 3 4 5 6 |
data |
from output of soil.final.cleanup() |
transect |
Character string of selected ranch code |
year |
The year or years for which to make the plot |
labels |
= TRUE determines whether points from the chosen ranch are labeled on the plot |
background |
= TRUE whether to display "background" data on plot not from selected ranch |
pointcolors |
= c("black", "gray") a vector that specifies colors of points on the plot |
legend |
specifies whether to display a legend |
legendnames |
specifies how points are named on the legend |
legendtitle |
title for the legend |
box.padding |
numeric adjusts spacing of labels on the plot |
xlab, ylab |
character strings for axis lables |
pointsize |
specifies size of a point |
plot of soil carbon data
1 | carbon.plot(soil, "ranchname")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.