drydown_analysis: Quality control for drying soil specimens

Description Usage Arguments Value Examples

View source: R/drydown_analysis.R

Description

Take an input data file and calculate water loss for each specimen, then plot the results. A linear rate of water loss must be assumed because only 2 data points are collected; however strictly speaking the water loss usually is linear above the shrinkage limit and then becomes curvilinear as the soil dries further.

Usage

1

Arguments

path

path to raw data file

Value

3-item list of class "soilmesh_drydown". All water content references are on a gravimetric basis

  1. water_losses Tibble containing drying time, total water loss, and rate of water loss per hour

  2. water_loss_summary Tibble containing average water loss data across all 3 cylinders of the same soil

  3. drydown_plotggplot showing drydown information for each soil

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# # create temporary csv file from built-in dataset
#
# f <- file.path(tempdir(), "example_drydown_file.csv")
# readr::write_csv(x = soilmesh::example_drydown_data, file = f)
#
# data <- readr::read_csv(f)
#
#
# # perform analysis
#
# eda <- drydown_analysis(path = f)

evanmascitti/soilmesh documentation built on Sept. 30, 2021, 7:57 a.m.