View source: R/add_physical_properties.R
add_physical_properties | R Documentation |
Generates all property values for every soil specimen in the
data frame, i.e each row. Output can be easily piped to ggproctor()
for
plotting purposes.
add_physical_properties(x, mold_dimensions = NULL, cleat_mark = FALSE)
x |
a data frame containing relevant specimen data, see Details |
mold_dimensions |
data frame containing metadata about molds used in tests. If not supplied, looks for global option |
cleat_mark |
Logical. Is this analysis for cleat-mark cylinders? |
experimental \loadmathjax
The data passed in via x
must contain specific gravity values (in
a column named Gs
), gravimetric water contents in a column named
water_content
, and the ambient test temperature (°C) in a column named
ambient_temp_c
. Water contents can be easily computed with add_w()
.
The use of generate_proctor_datasheet()
ensures compatibility of the the
column names used during data collection with those expected by this
function.
The properties added to the data frame include moist and oven-dry soil mass in grams, moist and dry density (ρ) in g/cm3, total porosity (n), void ratio (e), and effective saturation (Se).
mutated data frame with new columns, see details
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.