View source: R/prepare_solutions_input.R
prepare_solutions_input | R Documentation |
Prepare PHREEQC Solutions Input File
prepare_solutions_input(samples_tidy, title = "", min_spaces = 3)
samples_tidy |
data.frame with samples in tidy format, i.e. parameters are columns and each row is one value |
title |
user defined title (default: "") |
min_spaces |
minimum spaces after parameter name based on longest parameter name (default: 3 spaces) |
input text to be used as PHREEQC input
file_samples <- system.file("extdata/phreeqc-input.csv",
package = "geosalz.phreeqc")
samples <- read.csv2(file_samples)
samples_tidy <- geosalz.phreeqc::tidy_samples(samples) %>%
geosalz.phreeqc::convert_to_numeric_lab_values()
prepare_solutions_input(samples_tidy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.