Description Usage Arguments Value Examples
View source: R/est_C_given_A.R
Use this function to estimate a possible C matrix from a skew-symmetric A matrix. Recall that A = C Ω C'. Combined with est_A_from_data(), this might be useful for warm starting mELO models.
1 | est_C_given_A(A_mat, k = 1)
|
A_mat |
An advantage/disadvantage matrix. |
k |
The number of columns of the C matrix. More complex non-transitive interactions require higher values of k. |
A list with three components:
The estimated C matrix
The squared reconstruction error
The estimated required value for k to minimise the reconstruction error.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.