get_2x2_contamination_vector | R Documentation |
Get 2x2 contamination vector
get_2x2_contamination_vector(type, player)
type |
Player type as 1, 2, 3, or 4 |
player |
Player A or player B |
The player types are:
Contaminate no one
Contaminate self
Contaminate other player
Contaminate both
Contamination structure C_A, C_B: vector indicating cost to each player
C_A1: c(0,0)
C_A2: c(1,0)
C_A3: c(0,1)
C_A2: c(1,1)
C_B1: c(0,0)
C_B2: c(0,1)
C_B3: c(1,0)
C_B2: c(1,1)
payouts <- get_2x2_payouts(3, 3, Cs = 1, Cd = 2, TRUE)
get_2x2_ggplot(payouts)
payouts <- get_2x2_payouts(3, 3, Cs = 2, Cd = 1, TRUE)
get_2x2_ggplot(payouts)
payouts <- get_2x2_payouts(4, 4, Cs = 1, Cd = 2, TRUE)
get_2x2_ggplot(payouts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.