Learn R Programming

tricolore (version 1.2.2)

TernarySextantVertices: Vertex Coordinates of Sextants in Equilateral Triangle

Description

Given a barycentric center coordinate return the vertex coordinates of the of the sextant regions.

Usage

TernarySextantVertices(center)

Arguments

center

The sextant center. A vector of ternary coordinates p1, p2, p3.

Value

Index, vertex id and barycentric vertex coordinates for each of the 6 sextants.

Examples

Run this code
# NOT RUN {
tricolore:::TernarySextantVertices(rep(1/3, 3))

# }

Run the code above in your browser using DataLab