Skip to content

raagnew/Shapley-Value-in-R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We provide a stand-alone function to compute Shapley value for a cooperative game in characteristic function form. Our function relies on the R function intToBits which converts an integer vector into a matrix of binary representations, but for our purpose it provides an efficient means to compute across game coalitions. We provide five examples which are hopefully both illustrative and interesting.

Bob Agnew (raagnew1@gmail.com, www.raagnew.com)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages