View source: R/fun_salt_balance.R
fun_salt_balance | R Documentation |
Performs a salt balance on ion chromatography data and returns outputs for ECOS Runsalt software.
fun_salt_balance(
sample_name,
dry_g,
water_ml,
chloride_ppm,
nitrate_ppm,
sulfate_ppm,
sodium_ppm,
potassium_ppm,
calcium_ppm,
magnesium_ppm
)
sample_name |
Sample name |
dry_g |
Dry mass of sample, g |
water_ml |
Water added for ion chromatography, ml |
chloride_ppm |
Chloride concentration, ppm |
nitrate_ppm |
Nitrate concentration, ppm |
sulfate_ppm |
Sulfate concentration, ppm |
sodium_ppm |
Sodium concentration, ppm |
potassium_ppm |
Potassium concentration, ppm |
calcium_ppm |
Calcium concentration, ppm |
magnesium_ppm |
Magnesium concentration, ppm |
Dataframe of balanced ions for ECOS Runsalt software
https://predict.kikirpa.be/index.php/tools/moisture-and-salt-sample-data-analysis-tool/'
Godts, S., Steiger, M., Orr, S.A. et al. Charge balance calculations for mixed salt systems applied to a large dataset from the built environment. Sci Data 9, 324 (2022). https://doi.org/10.1038/s41597-022-01445-9
## Not run:
fun_salt_balance(sample_name = "Pathway 2",
dry_g = 0.801,
water_ml = 100,
chloride_ppm = 14.651,
nitrate_ppm = 17.339,
sulfate_ppm = 39.923,
sodium_ppm = 2.027,
potassium_ppm = 2.04,
calcium_ppm = 49.809,
magnesium_ppm = 0.581) |>
dplyr::glimpse()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.