ternarySegments-methods: Draw a sequence of ternary segments on a triangle plot

Description Usage Arguments Value See Also

Description

Draw a sequence of ternary segments on a triangle plot

Usage

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

## S3 method for class 'ternarySystem'
ternarySegments(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.

to

A data.frame or a matrix containing the ternary coordinates of points *to* which to draw.

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

Value

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

See Also

segments.


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