simplexSegment | R Documentation |
Normalizes two points in 3-d, and draws line segment between them in 2-d probability simplex.
simplexSegment(v, w, ...)
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 |
simplexLabels
,
simplexPoint
,
simplexPrepare
,
simplexText
,
simplexCoords
simplexPrepare("T3","Example Plot")
simplexSegment(c(15,65,20),c(15,70, 15),col="green")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.