| create_v_mat | R Documentation | 
Create ilr basis matrix (V)
create_v_mat(n_comp)
| n_comp | the number of compositional variables | 
A n_comp by n_comp - 1 matrix where each column relates to one ilr variable
The ilr basis made so that the numerator (+ values) for the ith column is in the ith row. 
All values below the + value in the column are set to -1 (the denominator).
The ilr basis for 3 compositional vars is 
(2, -1, -1)/sqrt(6), (0, 1, -1)/sqrt(2).
The ilr basis for 4 comp vars is 
(3, -1, -1, -1)/sqrt(12), (0, 2, -1, -1)/sqrt(6), (0, 0, 1, -1)/sqrt(2).
etc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.