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