Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simplexSegment

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

Examples

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

MSCquartets

Analyzing Gene Tree Quartets under the Multi-Species Coalescent

v1.1.0
MIT + file LICENSE
Authors
Elizabeth Allman [aut], Hector Banos [aut], Jonathan Mitchell [aut], John Rhodes [aut, cre] (<https://orcid.org/0000-0001-9921-1091>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.