RPinfo: Extract specific values from an Rphree output

Description Usage Arguments Value Author(s) Examples

Description

This functions extracts informations from calculated Rphree formatted solutions.

Usage

1
2
RPinfo(lin, cat = c("tot", "desc", "pphases", "master", "species", "kin",
  "SI"), prop, force = TRUE, flex = FALSE)

Arguments

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

Value

A numeric vector containing the inquired properties

Author(s)

MDL

Examples

1
2
3
4
5
## Not run: 
  RPinfo(SOL,"tot","Fe")
  RPinfo(SOL,"pphases","Anhydrite")

## End(Not run)

Rphree documentation built on May 2, 2019, 6:09 p.m.