simplexSegment: Plot line segment in 2-d probability simplex

simplexSegmentR Documentation

Plot line segment in 2-d probability simplex

Description

Normalizes two points in 3-d, and draws line segment between them in 2-d probability simplex.

Usage

simplexSegment(v, w, ...)

Arguments

v, w

3-d endpoints of line segment in non-negative orthant, coords not summing to 0

...

other options to pass to graphics::segments function

See Also

simplexLabels, simplexPoint, simplexPrepare, simplexText, simplexCoords

Examples

   simplexPrepare("T3","Example Plot")
   simplexSegment(c(15,65,20),c(15,70, 15),col="green")


MSCquartets documentation built on Oct. 31, 2024, 1:08 a.m.