get_2x2_ggplot | R Documentation |
Generate ggplot of 2x2 payouts
get_2x2_ggplot(payouts, equilibria = FALSE, nsmall = 2)
payouts |
Tibble of payouts from get_2x2_payouts |
equilibria |
If |
nsmall |
Used for rounding payouts |
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, TRUE)
payouts <- get_2x2_payouts(4, 4, Cs = 1, Cd = 2, TRUE)
get_2x2_ggplot(payouts, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.