p.ions {plotrix} | R Documentation |
Calculates the ion/total(ions) ratios of ions used in the Piper diagram.
p.ions(meq,short.output=TRUE)
meq |
A data frame containing the concentrations of ions used in the Piper diagram in milliequivalents/liter. |
short.output |
Whether to return the proportions of four ions (TRUE) or include carbonate-bicarbonate and sodium-potassium (FALSE). |
p.ions calculates the proportions of anions or cations to total anions or cations for the ions used in the Piper diagram.
The proportion of the ions.
Mike Cheetham