Description Usage Arguments Value Examples
View source: R/containment-and-band-creation.R
This function takes a data.frame, moves it to unit simplex representation and
then projects the points onto a lower representation space (using A).
| 1 | to_lower_simplex(df, A = NULL)
 | 
| df | an n x p data.frame, all scalar columns | 
| A | default is  | 
updated dat.frame (n x k), where k should be p-1, but that's assuming
A is made from simplex_project_mat
| 1 2 3 4 5 | center <- data.frame(x = 1, y = 1, z = 1)
to_lower_simplex(center) # 0,0 # center
side <- data.frame(x = 1, y = 0, z =0)
to_lower_simplex(side) #(1,0)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.