View source: R/complete_soilphys.R
complete_soilphys | R Documentation |
This function completes the soilphys dataset by calculating different parameters if necessary, as long as all required parameters are available. Diffusion coefficients, as well as the air density are calculated if missing.
complete_soilphys(
soilphys,
DSD0_formula = NULL,
gases = NULL,
overwrite = TRUE,
quiet = FALSE
)
soilphys |
(dataframe) the soilphys dataframe |
DSD0_formula |
(character) A character vector defining the way DSD0 should be calculated. Must refer to existing columns in soilphys. See examples below. |
gases |
(character) A character vector defining the gases for which to calculate D0 and DS. |
overwrite |
(logical) If true, already existing columns are overwritten. |
quiet |
(logical) Suppress messages. |
D0_massman
Other soilphys:
check_soilphys()
,
discretize_depth()
,
soilphys_layered()
soilphys <- complete_soilphys(soilphys, DSD0_formula = "a*AFPS^b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.