This vignette documents the SDEF root carbon and biomass analysis, including scaling and figure creation.

Data Description

Full descriptions are in the *.R files in the "../R" directory.

'SDEF_2016_RootAshWeights.txt' - raw ash weight data for carbon content calculation.

'SDEF_2016_RootLengths.txt' - processed root length/diameter data for biovolume calculation.

Terminology

'biomass' - oven-dried (72h @ 60C) plant roots, >2mm

'biovolume' - volume occupied by biomass, calculated from root geometry

Data Processing

The figure sizes have been customised so that you can easily put two images side-by-side.

data <- read.table("SDEF_2016_RootLengths.txt", sep="\t", header=TRUE)
data <- data
data$date <- as.character(data$date)
data$date <- as.Date(data$date, format="%m/%d/%Y")
data <- ConvertFrameDepth(data)

You can enable figure captions by fig_caption: yes in YAML:

output:
  rmarkdown::html_vignette:
    fig_caption: yes

Then you can use the chunk option fig.cap = "Your figure caption." in knitr.

More Examples

You can write math expressions, e.g. $Y = X\beta + \epsilon$, footnotes^[A footnote here.], and tables, e.g. using knitr::kable().

knitr::kable(head(mtcars, 10))

Also a quote using >:

"He who gives up [code] safety for [code] speed deserves neither." (via)



bmcnellis/SDEF.analysis documentation built on June 4, 2019, 10 a.m.