Learn R Programming

TUGLab (version 0.0.1)

utopiapayoffsvector: Utopia payoffs vector

Description

This function computes the utopia payoffs vector of a game.

Usage

utopiapayoffsvector(v, binary = FALSE)

Value

The utopia payoffs vector.

Arguments

v

A characteristic function, as a vector.

binary

A logical value. By default, binary=FALSE. Should be set to TRUE if v is introduced in binary order instead of lexicographic order.

Details

Given \(v\in G^N\), the utopia payoff of player \(i\in N\) is defined as \(M_i(N,v)=v(N)-v(N\backslash i)\).

See Also

minimalrightsvector

Examples

Run this code
v <- c(0, 10, 200, 1, 4, 7, 7)
utopiapayoffsvector(v, binary = FALSE)

Run the code above in your browser using DataLab