ternaryArrows-methods: Add Arrows to a ternary plot

Description Usage Arguments Value See Also

Description

Add Arrows to a ternary plot

Usage

1
2
3
4
ternaryArrows(s, from, to, ...)

## S3 method for class 'ternarySystem'
ternaryArrows(s, from, to, .plot = TRUE, ...)

Arguments

s

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

from

A data.frame or a matrix containing the ternary coordinates of points *from* which to draw the arrows. Each row is an arrow, and the columns must correspond to blrNames(s) (variable names for the bottom, left and right axis).

to

A data.frame or a matrix containing the ternary coordinates of points *to* which to draw the arrows. Each row is an arrow, and the columns must correspond to blrNames(s) (variable names for the bottom, left and right axis).

.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 arrows.

Value

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

See Also

arrows.


ternaryplot documentation built on May 2, 2019, 6:11 p.m.