Learn R Programming

tricolore (version 1.2.6)

TernaryCenterGrid: Return Ternary Gridlines Centered Around Some Composition

Description

Return Ternary Gridlines Centered Around Some Composition

Usage

TernaryCenterGrid(center, spacing)

Value

A list of lists.

Arguments

center

The center of the grid. A vector of ternary coordinates [p1, p2, p3].

spacing

The spacing of the grid in percent-point increments. A numeric > 0.

Examples

Run this code
# NOTE: only intended for internal use and not part of the API
tricolore:::TernaryCenterGrid(c(1/6, 2/6, 3/6), 10)

Run the code above in your browser using DataLab