probs_table | R Documentation |
Put winning probabilities in nice table
probs_table(probs, margins = TRUE)
probs |
numeric vector of length 6, representing outcome probabilities (must sum to 1 or 100) |
margins |
boolean. Should margin totals be added? Defaults to TRUE |
data.frame with rownames
# 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)
probs_table(probs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.