Learn R Programming

trifield (version 1.1)

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

30

Version

1.1

License

GPL-2

Maintainer

Last Published

October 29th, 2012

Functions in trifield (1.1)

triaxes

Draws ternary axis lines
ternary.apply

Apply a function over a ternary grid
abc2xy

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

Draws an equilateral triangle with unit altitude
ternary.legend

Plots a ternary legend
xy2abc

Ternary projection of x, y coordinates
ternary.grid

Constructs a ternary grid
ternary.field

Constructs a ternary field
plot.trifield

Plot a ternary field
trifield-package

Assists in creating and plotting ternary fields