plotBarycentric | R Documentation |
This function plots tuples of vectors that sum 1 in barycentric coordinates
plotBarycentric(data.matrix)
data.matrix |
a matrix or dataframe where each row is an n-dimension data point (whose sum is 1) |
An object of class ggplot with the plot
data <- matrix(runif(100*5), ncol=5)
data <- data / rowSums(data)
plotBarycentric(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.