ternary2xy-methods: Converts ternary point-data into x-y coordinates

Description Usage Arguments Value

Description

Converts ternary point-data (bottom, left, right axis) into x-y coordinates, according to the specification of a ternarySystem

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ternary2xy(s, ...)

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

## S3 method for class 'ternaryData'
ternary2xy(s, ...)

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

Arguments

s

A ternarySystem object or a character string naming an pre-defined ternarySystem, or a ternaryData object. For the latter, if x is missing, s will also be used for x

x

A data.frame or a matrix with ternary point-data. Can be missing if s is a ternaryData object.

...

Additional parameters passed to specific methods.

Value

Returns a data.frame with point-data in (columns) x and y.


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