getPlayersFromBitVector {CoopGame}R Documentation

Extract players from bit vector

Description

getPlayersFromBitVector determines players involved in a coalition from a binary vector.

Usage

getPlayersFromBitVector(bitVector)

Arguments

bitVector

represents the binary vector

Value

playerVector contains the numbers of the players involved in the coalition

Author(s)

Johannes Anwander anwander.johannes@gmail.com

Jochen Staudacher jochen.staudacher@hs-kempten.de

Examples

library(CoopGame)
myBitVector <-c(1,0,1,0)
(players<-getPlayersFromBitVector(myBitVector))


[Package CoopGame version 0.2.2 Index]