Distribute {Rphree} | R Documentation |
Function to distribute different values of one property (concentration, temperature, mineral phase,...) properties in an input buffer.
Distribute(input, prop, values, newname = NULL, first = NULL, wholeline = TRUE)
input |
The initial input buffer. |
prop |
The property whose values need to be distributed. |
values |
The numerical value(s) to distribute across the SOLUTIONS. |
newname |
Optional name of a property which is not initially present in the input buffer. |
first |
The |
wholeline |
logical. if TRUE, comments after the properties (i.e. "as HCO3") get also distributed. |
The number of SOLUTIONs in the input buffer must be 1 or equal to
length(values). If the input buffer contains only one SOLUTION,
and length(values)>1, then the new input gets automatically
replicated length(values) times by RepSol. For KINETICS use
DistributeKin
.
A new input buffer upon which Rphree can be run.
MDL