Creates a ternaryGeometry object: ternary plot geometry definition.

1 2 |

`tlrAngles` |
Vector of numeric. Top, left and right angle (in degrees) of the ternary diagram. Must sum to 180 degrees. |

`blrClock` |
Vector of logical value. Bottom, left and right axis directions.
Set to |

`fracSum` |
Single numeric value. Sum of the three fractions. Must be 1 (if a fraction) or 100 (if a percentage). |

`...` |
Additional parameters passed to |

In this package, ternary plots geometries are defined by the 3 triangle's angles (top, left, right), and by the sum of the 3 fractions it represents (1 if a fraction, and 100 if a percentage).

Return a list of `ternaryGeometry`

-class (S3). A 2nd class is added
that depends on `blrClock`

, and is formed after the pattern
`"geo_[blrClockCode]"`

, where `[blrClockCode]`

can be
`"TTT"`

, `"FFF"`

, `"FTX"`

or `"TXF"`

.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
library( "ternaryplot" )
## Default geometry
tg <- createTernaryGeometry()
tg
## Custom geometry
tg <- createTernaryGeometry(
"fracSum" = 1,
"blrClock" = rep( FALSE, 3 ),
"tlrAngles" = c( 45, 45, 90 ) )
tg
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.