weight_matrix_cpp | R Documentation |
Calculate weight matrix
weight_matrix_cpp(coalitions, m, n, w)
coalitions |
List. Each of the elements equals an integer vector representing a valid combination of features/feature groups. |
m |
Integer. Number of features/feature groups. |
n |
Integer. Number of combinations. |
w |
Numeric vector
Should have length |
Matrix of dimension n x m + 1
Nikolai Sellereite, Martin Jullum
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.