banzhaf_appro {TUvalues} | R Documentation |
Calculate the approximated Banzhaf Index based on sampling
banzhaf_appro(characteristic_func, n_players, n_rep, replace = TRUE)
characteristic_func |
The valued function defined on the subsets of the number of players |
n_players |
Only used if |
n_rep |
The number of iterations to perform in the approximated calculation |
replace |
should sampling be with replacement? |
The Banzhaf Index for each player