Create a regular ternary grid. Base frame for binning ternary data.

Description

Create a regular ternary grid. Base frame for binning ternary data.

Usage

1
2
3
4
5
6
7
createTernaryGrid(s, ...)

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

## S3 method for class 'ternarySystem'
createTernaryGrid(s, n = 10, ...)

Arguments

s

Either a single character string, or a ternarySystem object, as obtained from getTernarySystem

n

Single integer value. Number of intervals

...

Additional parameters passed to specific methods.

Value

A ternary grid (of polygons), with class ternaryPolygons.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.