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.
Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|