phrGetSelectedOutput: Returns the contents of the selected output as a list of data...

Description Usage Arguments Details Value References See Also Examples

View source: R/phreeqc.R

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

1

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

ftp://brrftp.cr.usgs.gov/pub/charlton/iphreeqc/IPhreeqc.pdf

See Also

Other Selected Output: phrGetSelectedOutputFileName, phrSetSelectedOutputFileName, phrSetSelectedOutputFileOn

Examples

1
2
3
4
5
6
7
# Load database and run ex2
phrLoadDatabaseString(phreeqc.dat)
phrRunString(ex2)

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

phreeqc documentation built on July 1, 2020, 11:46 p.m.