tp_table | R Documentation |
Compute take points at a given match score, create a nice table to compare those with money game take points
tp_table(x, y, probs, cube, met, cube_eff = 2/3)
x |
number of points that player needs |
y |
number of points that opponent needs |
probs |
numeric vector of length 6, representing outcome probabilities (must sum to 1 or 100) |
cube |
cube value |
met |
match equity table |
cube_eff |
cube-life index, between 0 and 1, defaults to 2/3 |
data.frame
met <- get_met()
# XGID=-a-BaBC-A---eE---c-e----B-:0:0:1:00:0:0:0:0:10
# 4-ply winning chances, reported in a cumulative fashion:
cum_probs <- c(61.94, 24.09, 1.04, 38.06, 8.54, 0.42)
probs <- outcome_probs(cum_probs)
tp_table(3, 5, probs, 1, met)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.