add_ternary_path: Add a compositional path to a ternary plot

View source: R/ternary_diagram.R

add_ternary_pathR Documentation

Add a compositional path to a ternary plot

Description

Add a compositional path to a ternary plot

Usage

add_ternary_path(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) for multiple paths.

transform

Logical. If TRUE, apply the frame transformation.

...

Further arguments passed to ggplot2::geom_path().

Value

A ggplot2 object.


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