Learn R Programming

MSCquartets (version 3.1)

simplexText: Add text at a point in 2-d probability simplex

Description

Add text to a 2-d probability simplex plot, at specified location.

Usage

simplexText(v, label = "", ...)

Arguments

v

a 3-d point in non-negative orthant, coordinates not summing to 0

label

text to add to plot

...

other options to pass to graphics::text function

See Also

simplexLabels, simplexPoint, simplexPrepare, simplexSegment, simplexCoords

Examples

Run this code
   simplexPrepare("T3","Example Plot")
   simplexText(c(15,65,20),"tree ac|bd")

Run the code above in your browser using DataLab