Description Usage Arguments Value Author(s) See Also
Function to calculate the coordinates of set of samples in a piper diagram.
1 | modified_piper_transform(gdata)
|
gdata |
A geochemical_dataset |
This function returns a data.frame with the following variables:
cat_x,cat_y: coordinates of the cations in the ternary diagram (scaled between 0 and 1).
an_x,an_y: coordiantes of the anions in the ternary diagram (scaled between 0 and 1).
d_x,d_y: coordinates of the samples in the central diamond (scaled between 0 and 1).
k: Matrix with the increments in the coordinates of the sample tail in the central diamond.
Oscar Garcia-Cabrejo khaors@gmail.com
Other modified_piper functions: add_lines_modified_piper
,
classification_reactions_piper_mode
,
ggplot_modified_piper
,
plot_modified_piper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.