RPinfo {Rphree} | R Documentation |
This functions extracts informations from calculated Rphree formatted solutions.
RPinfo(lin, cat = c("tot", "desc", "pphases", "master", "species", "kin", "SI"), prop, force = TRUE, flex = FALSE)
lin |
The list containg the Rphree solution(s) |
cat |
A string indicating the category (or output block) to search in, must be one of: "tot, desc, pphases, master, species, kin, SI" |
prop |
The name of the inquired property (element, species, mineral phase,...) whose value(s) |
force |
Logical. If TRUE (default if left unspecified), a valid numeric value (0) is returned even if the inquired property is not found in the solution |
flex |
Logical. If TRUE, do not rely on "ListInfo" in the formatted solution list and perform heuristics to circumvent this absence |
A numeric vector containing the inquired properties
MDL
## Not run: RPinfo(SOL,"tot","Fe") RPinfo(SOL,"pphases","Anhydrite") ## End(Not run)