TernaryTiles( x, y, down, resolution, col, direction = getOption("ternDirection", 1L) )
Numeric vectors specifying x and y coordinates of centres of each triangle.
Logical vector specifying
TRUE if each triangle should point down (or right),
The number of triangles whose base should lie on the longest axis of the triangle. Higher numbers will result in smaller subdivisions and smoother colour gradients, but at a computational cost.
Vector specifying the colour with which to fill each triangle.
(optional) Integer specifying the direction that the current ternary plot should point: 1, up; 2, right; 3, down; 4, left.
Other functions for colouring and shading: