Add Text to a ternary plot

Description

Add Text to a ternary plot

Usage

1
2
3
4
ternaryText(s, ...)

## S3 method for class 'ternarySystem'
ternaryText(s, x, labels, .plot = TRUE, ...)

Arguments

s

A ternarySystem object, or a character string naming a pre-defined ternarySystem. If missing, set to default.

x

A data.frame or a matrix containing ternary data-points, coordinates of the text strings to be added on the plot.

labels

A vector of character strings, or expressions to be added on the triangle plot. See text.

.plot

Single logical value. Set to FALSE if you don't want to plot the graphical element and simply returns them as x-y coordinates (or Spatial* objects if sp is set to TRUE in tpPar).

...

Additional parameters passed to text.

Value

Invisibly returns the graphical element as x-y coordinates or a Spatial* objects (see .plot).

See Also

points.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.