knitr::opts_chunk$set(echo = TRUE)

Make a sample data set of a 10 hecatre plot of land that experiences soil erosion dectated in the soil_erosion() function

bulk_density = rnorm(mean = 0.71, sd = 0.3, n = 100)

percent_soc = rnorm(mean = 0.02, sd = 0.0001, n = 100)

percent_clay = rnorm(mean = 0.05, sd = 0.01, n = 100)

soil_properties = cbind(bulk_density, percent_soc, percent_clay)

run this data into the package

use_data(soil_properties, pkg = SoilCarbon)


tcobian/SoilCarbon documentation built on March 21, 2020, 8:06 p.m.