add_w: Calculate gravimetric water content & add to the data frame

View source: R/add_w.R

add_wR Documentation

Calculate gravimetric water content & add to the data frame

Description

\lifecycle

stable The input data should contain columns named tin_w_wet_sample, tin_w_OD_sample, and tin_tare. Note that the tin tare should be looked up from the appropriate set of pre-weighed tins. The formula for computing water content is

\loadmathjax \mjdeqn \frac

m_waterm_OD~soil

Usage

add_w(df)

Arguments

df

A data frame

Value

A new data frame containing the original data with an added column, "water_content" in decimal form.

References

Brady and Weil, 2002. The Nature and Properties of Soil.

Examples

add_w(example_wcont)


evanmascitti/soiltestr documentation built on Oct. 6, 2022, 5:32 p.m.