Description Usage Arguments Value Examples
View source: R/phreeqc_write_pqi.R
Load .pqi-files produced by the PHREEQC-interactive GUI into
the tidyphreeqc format phr_input()
1 | phr_read_pqi(path)
|
path |
Path to file. |
An object of class phr_input()
1 2 3 4 5 6 7 8 | # create some phr_input_sections
sol <- phr_solution(pH = 8, pe = 2, Na = 1, Cl = 1, units = "mol/l")
phase <- phr_equilibrium_phases(Halite = c(10, 1))
fil <- tempfile("data")
phr_write_pqi(phr_input(sol, phase), path = fil)
phr_read_pqi(path = fil)
unlink(fil) # tidy up
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.