plot_ternary: plot_ternary

Description Usage Arguments Value Author(s) See Also

Description

Function to create a ternary plot for a geochemical_dataset

Usage

1
2
plot_ternary(x, measure = c("conc", "meql"), vars = NULL,
  color = NULL, Size = NULL, labels = NULL, additional.args = NULL)

Arguments

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:

  • 'conc': concentrations

  • 'meql': miliequivalent

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.

labels

Character variable that specifies the labels to be used in the current plot

additional.args

A list with additional arguments

Value

This function returns a ggplot2 object with the Durov plot.

Author(s)

Oscar Garcia-Cabrejo, khaors@gmail.com

See Also

Other ternary functions: add_grid_lines_ternary, add_labels_ternary, ggplot_ternary, ternary_transform


khaors/GQAnalyzer documentation built on May 29, 2019, 8:35 a.m.