Function to create the Piper plot
plot_piper(x, measure = c("conc", "meql"), vars = NULL, color = NULL, Size = NULL, additional.args = NULL)
| x | A geochemical_dataset object |
|---|---|
| measure | A character variable specifying the type of measure to be used in the plot. Currently the types supported include:
|
| vars | Character vector. Variables to use in the plot. In the case of the Durov plot, these variables are already defined. Used only for compatibility with the plot function. |
| color | Character variable that specifies the variable to color the data inside the plot. |
| Size | Character variable that specifies the variable to define the size of the data inside the plot. |
| additional.args | A list with additional arguments |
This function returns a ggplot2 object with the Durov plot.
Other piper functions: add_grid_lines_piper,
add_labels_piper,
anion_cation_transform,
ggplot_piper,
piper_classification,
piper_transform,
transform_piper_data