ShapleyValue: Shapley Value Solution

View source: R/ShapleyValue.R

ShapleyValueR Documentation

Shapley Value Solution

Description

Calculates the Shapley value for a N-agent cooperative game.

Usage

ShapleyValue(x, Names = NULL)

Arguments

x

object of class Game

Names

Labels of the agents

Details

Please check ShapleyShubik for an extension to voting power index.

Author(s)

Sebastian Cano-Berlanga <cano.berlanga@gmail.com>

References

Shapley L (1953). A value for n-person games. In Tucker A, Kuhn H (Eds.), Contributions to the theory of games II (pp. 307-317). Princeton University Press: Princeton NJ.

Examples




# Begin defining the game

COALITIONS <- c(46125,17437.5,5812.5,69187.5,53812.5,30750,90000)
LEMAIRE<-DefineGame(3,COALITIONS)

# End defining the game

NAMES <- c("Investor 1","Investor 2","Investor 3")
LEMAIRESHAPLEY <- ShapleyValue(LEMAIRE,NAMES)
summary(LEMAIRESHAPLEY)


GameTheory documentation built on Sept. 25, 2023, 5:07 p.m.