marginal_contribution_mean: fauxiliar
Description
Intermediate auxiliar function to calculate the mean of the marginal contributions for a set of permutations.
Usage
marginal_contribution_mean(permute, costs)
Value
A vector with n elements with component i equal to the mean of the marginal contribution indicated by each order in permute for agent i.
Arguments
- permute
Matrix with n columns. By rows, it contains a order.
- costs
Vector with the associated costs to each posible coalition in a set of agents N.