INTERNAL: Find optimal axis limits for a ternary plot.

Description

INTERNAL: Find optimal axis limits for a ternary plot.

Usage

1
2
3
4
5
6
7
.ternaryLims(s, ...)

## S3 method for class 'character'
.ternaryLims(s, ...)

## S3 method for class 'ternarySystem'
.ternaryLims(s, x, ...)

Arguments

s

Either a character string naming the ternary classification system to be used (if pre-defined) or a ternarySystem, instead of x.

x

A data.frame or a matrix containing point ternary data (x-y-x) to be ploted on the graph. It should contain the 3 columns names given in s;

...

Additional parameters passed to specific methods.

Value

Returns a data.frame with 3 columns (bottom, left and right variables) and 2 rows: the minimun value and the maximum value of each variable.

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