# NOT RUN {
library(CoopGame)
v=c(0,0,0,1,1,0,1)
raeIndex(v)
# }
# NOT RUN {
library(CoopGame)
v=c(0,0,0,0,1,1,0,0,0,0,1,1,1,0,1)
raeIndex(v)
#result: [1] 0.875 0.625 0.625 0.500
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab