Learn R Programming

⚠️There's a newer version (1.1) of this package.Take me there.

trifield (version 1.0)

Some basic facilities for ternary fields and plots

Description

The package contains routines to 1) project unity-summed triples to unit-square doubles and vice versa, 2) make a grid of unity-summed triples paired to doubles, 3) evaluate a function over the grid and 4) make simple plots including ternary contour plots over a grid of values.

Copy Link

Version

Install

install.packages('trifield')

Monthly Downloads

5

Version

1.0

License

GPL-2

Maintainer

Timothy H Keitt

Last Published

October 29th, 2012

Functions in trifield (1.0)

xy2abc

Ternary projection of x, y coordinates
ternary.grid

Constructs a ternary grid
tribox

Draws an equilateral triangle with unit altitude
ternary.field

Constructs a ternary field
abc2xy

Project unity-summed triples (a, b, c) to unit-square doubles (x, y)
ternary.legend

Plots a ternary legend
ternary.apply

Apply a function over a ternary grid
plot.trifield

Plot a ternary field
triaxes

Draws ternary axis lines
trifield-package

Assists in creating and plotting ternary fields