marginal_contribution_mean {Inventorymodel}R Documentation

fauxiliar

Description

Intermediate auxiliar function to calculate the mean of the marginal contributions for a set of permutations.

Usage

marginal_contribution_mean(permute, costs)

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.

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.


[Package Inventorymodel version 1.1.0.1 Index]