add_ternary_points: Add compositional points to a ternary plot

View source: R/ternary_diagram.R

add_ternary_pointsR Documentation

Add compositional points to a ternary plot

Description

Add compositional points to a ternary plot

Usage

add_ternary_points(p, X, group = NULL, transform = TRUE, ...)

Arguments

p

A ggplot2 object created by ternary_plot().

X

A numeric matrix or data frame with exactly three columns.

group

Optional grouping variable of length nrow(X).

transform

Logical. If TRUE, apply the frame transformation.

...

Further arguments passed to ggplot2::geom_point().

Value

A ggplot2 object.


coda.plot documentation built on April 12, 2026, 9:06 a.m.