Description Usage Arguments Value Examples
View source: R/model_pred_mat.R
Given a mELO_rating model and a vector of agents, this function gives the predicted success probabilities for each combination. This is useful for mELO models as the ratings alone is not useful for predicting outcomes.
1 | model_pred_mat(model, agents, round = 4)
|
model |
An object of class |
agents |
a vector of agents/players/teams you would like to pairwise predictions for. |
round |
Round results to how many figures. Default is 4. |
actual_matrix |
Should result be an actual matrix? Default is FALSE and the output is a data.frame. |
a data.frame.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.