Draw a Box around a ternary plot

Share:

Description

Draw a Box around a ternary plot

Usage

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

## S3 method for class 'ternarySystem'
ternaryBox(s, .plot = TRUE, ...)

Arguments

s

A ternarySystem object.

.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 polygon. You can for instance set border for the color of the box outline, col, for the fill-color of the box, lwd (outline thickness) or lty (line-type).

Value

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

See Also

box.

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