recalc_prob: recalc_prob recalculate the catch probabilities after...

Description Usage Arguments Value

View source: R/divvy_catch_credit.R

Description

recalc_prob recalculate the catch probabilities after removing a defender

Usage

1
recalc_prob(defender_to_remove, data, xgb_model)

Arguments

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

Value

a numeric vector of predicted probabilities


hjmbigdatabowl/bdb2021 documentation built on Feb. 14, 2021, 1:35 a.m.