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

triframe

Barycentric plots


Description

Function to add a frame to an existing (barycentric) plot.

Usage

triframe(label = 1:3, label.col = 1, cex = 1, ...)

Arguments

label

labels for the three corners of the plot.

label.col

text color for labels.

cex

Magnification factor for label text relative to the default.

...

Further graphical parameters passed to trilines.

Author(s)

See Also

Examples

triplot(grid = TRUE, frame = FALSE)     # plot without frame 
some.triangle <- rbind(c(0, 0.65, 0.35), c(0.53, 0.47, 0), 
                       c(0.72, 0, 0.28))[c(1:3, 1), ]
trilines(some.triangle, col = "red", pch = 16, type = "b")
triframe(label = c("left", "top", "right"), col = "blue", 
         label.col = "green3")          # frame on top of points

klaR

Classification and Visualization

v0.6-15
GPL-2 | GPL-3
Authors
Christian Roever, Nils Raabe, Karsten Luebke, Uwe Ligges, Gero Szepannek, Marc Zentgraf, David Meyer
Initial release
2020-02-18

We don't support your browser anymore

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