Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

phrGetSelectedOutput

Returns the contents of the selected output as a list of data frames.


Description

phrGetSelectedOutput returns a named list containing the resultant selected output blocks. The names of each data frame are creating by concatenating the letter 'n' and the user number of the selected output block.

Usage

phrGetSelectedOutput(allow_ = TRUE)

Arguments

allow_

used for compatibility with R prior to 1.9.0 (default is TRUE).

Details

phrGetSelectedOutput uses the make.names function to create valid column names. The allow_ variable is passed to make.names and is used for backward compatibility.

Value

Returns a named list of data frames containing the selected_output from the previous run.

References

See Also

Examples

# Load database and run ex2
phrLoadDatabaseString(phreeqc.dat)
phrRunString(ex2)

# display a summary of the results
df <- phrGetSelectedOutput()
summary(df$n1)

phreeqc

R Interface to Geochemical Modeling Software

v3.6.3
GPL-3
Authors
S.R. Charlton, D.L. Parkhurst, and C.A.J. Appelo, with contributions from D. Gillespie for Chipmunk BASIC and S.D. Cohen, A.C. Hindmarsh, R. Serban, D. Shumaker, and A.G. Taylor for CVODE/SUNDIALS
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.