percent.change.plot: Make a percent change boxplot of soil carbon and bulk Density

Description Usage Arguments Value Examples

View source: R/soil_percent.change.plot.R

Description

Creates a plot that shows average change in SOC at 2 depths and BD compared to regional average

Usage

1
2
3
4
5
6
7
8
percent.change.plot(data, transect,
  surveyyear = levels(as.factor(data$YEAR)), background = TRUE,
  legendnames = c(paste(transect, collapse = " "), "Others"),
  legendtitle = "Ranch", legend = TRUE, boxcolors = c("black",
  "gray"), xlabels = c("Carbon 0-10 cm", "Carbon 10-40 cm",
  "Bulk Density"), ylab = "% Change",
  choosevariables = c("Carbon010change", "Carbon1040change",
  "Bulk.density.change"))

Arguments

data

from output of soil.final.cleanup()

transect

Character string of selected ranch code

surveyyear

Years for which to make summary

background

= TRUE whether to display "background" data on plot not from selected ranch

legendnames

specifies how points are named on the legend

legendtitle

Character string of legend title

boxcolors

vector of colors to display data on the boxplot

xlabels

vector of strings to label boxplots

ylab

character string for y axis label

choosevariables

a character vector that specifies which columns in the data to plot

Value

Shows soil compaction plot

Examples

1
compaction.plot(soil, "ranchname")

weverkaj/RMN documentation built on July 26, 2019, 10:34 p.m.