powered by
getPlayersFromBitVector determines players involved in a coalition from a binary vector.
getPlayersFromBitVector(bitVector)
represents the binary vector
playerVector contains the numbers of the players involved in the coalition
# NOT RUN { library(CoopGame) myBitVector <-c(1,0,1,0) (players<-getPlayersFromBitVector(myBitVector)) # }
Run the code above in your browser using DataLab