getPlayersFromBitVector: Extract players from bit vector

Description Usage Arguments Value Author(s) Examples

View source: R/bitMatrix.R

Description

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

Usage

1

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

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

CoopGame documentation built on Aug. 24, 2021, 1:07 a.m.