Skip to content

Instantly share code, notes, and snippets.

View micahwoods's full-sized avatar

Micah Woods micahwoods

View GitHub Profile
@micahwoods
micahwoods / om_mass_volume.R
Last active December 9, 2021 01:18
shows calculations for organic matter as mass/mass or volume/volume using a 1 square meter section to a 2 cm depth as an example
## OM246 on a volume basis
## starting thought: what is 5% OM by mass on a volume basis?
library(ggplot2)
library(cowplot)
## assign bulk densities; these don't vary, nor does compressibility
bd_sand <- 1.56
bd_om <- 0.22