Function to transform the concentrations of Mg, Ca, Cl and SO4 to local coordinates of the Piper diagram.
transform_piper_data(Mg, Ca, Cl, SO4, name = NULL)
| Mg | A numeric vector with the concentrations of Mg |
|---|---|
| Ca | A numeric vector with the concentrations of Ca |
| Cl | A numeric vector with the concentrations of Cl |
| SO4 | A numeric vector with the concentrations of SO4 |
| name | name? |
A data.frame with the following variables
observation:
x:
y:
Other piper functions: add_grid_lines_piper,
add_labels_piper,
anion_cation_transform,
ggplot_piper,
piper_classification,
piper_transform, plot_piper