clr_biplot | R Documentation |
Generates a centered log-ratio (CLR) biplot for compositional data.
clr_biplot(
X,
group = NULL,
biplot_type = "covariance",
alpha = NULL,
shape_group = NULL
)
X |
A matrix or data frame containing compositional data. |
group |
factor used to color the observations. |
biplot_type |
Character string specifying the type of biplot. Either '"covariance"' (default) or '"form"'. |
alpha |
Optional numeric value between 0 and 1. If provided, this overrides
|
shape_group |
Optional factor used to assign shapes to the observations. |
A ggplot
object displaying the biplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.