phrGetSelectedOutput | R Documentation |
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.
phrGetSelectedOutput(allow_ = TRUE)
allow_ |
used for compatibility with R prior to 1.9.0 (default is TRUE). |
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.
Returns a named list of data frames containing the selected_output from the previous run.
https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf
Other Selected Output:
phrGetSelectedOutputFileName()
,
phrSetSelectedOutputFileName()
,
phrSetSelectedOutputFileOn()
# Load database and run ex2
phrLoadDatabaseString(phreeqc.dat)
phrRunString(ex2)
# display a summary of the results
df <- phrGetSelectedOutput()
summary(df$n1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.