Description Usage Arguments Value
View source: R/divvy_catch_credit.R
recalc_prob recalculate the catch probabilities after removing a defender
1 | recalc_prob(defender_to_remove, data, xgb_model)
|
defender_to_remove |
Numeric: the defender to remove (i.e. 1, 2, 3, .. 11) |
data |
the data frame from which the probabilities are being predicted |
xgb_model |
the xgboost model |
a numeric vector of predicted probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.