R/data.R

#' nflfastR Completion Probability Model
#'
#' @format A xgb.Booster
#' @source See \url{https://www.opensourcefootball.com/posts/2020-09-28-nflfastr-ep-wp-and-cp-models/}
#' for the code to build the model.
"cp_model"

#' nflfastR Expected Points Model
#'
#' @format A xgb.Booster
#' @source See \url{https://www.opensourcefootball.com/posts/2020-09-28-nflfastr-ep-wp-and-cp-models/}
#' for the code to build the model.
"ep_model"

#' nflfastR Field Goal Model
#'
#' @format A generalized additive model (GAM)
#' @source See \url{https://www.opensourcefootball.com/posts/2020-09-28-nflfastr-ep-wp-and-cp-models/}
#' for the code to build the model.
"fg_model"

#' nflfastR Win Probability Model
#'
#' @format A xgb.Booster
#' @source See \url{https://www.opensourcefootball.com/posts/2020-09-28-nflfastr-ep-wp-and-cp-models/}
#' for the code to build the model.
"wp_model"

#' nflfastR Win Probability Model (including Spread)
#'
#' @format A xgb.Booster
#' @source See \url{https://www.opensourcefootball.com/posts/2020-09-28-nflfastr-ep-wp-and-cp-models/}
#' for the code to build the model.
"wp_model_spread"

#' nflfastR Expected Pass Model
#'
#' @format A xgb.Booster
#' @source See \url{https://www.opensourcefootball.com/posts/2020-09-28-nflfastr-ep-wp-and-cp-models/}
#' for the code to build the model.
"xpass_model"

#' nflfastR Expected Yards after Catch Model
#'
#' @format A xgb.Booster
#' @source See \url{https://www.opensourcefootball.com/posts/2020-09-28-nflfastr-ep-wp-and-cp-models/}
#' for the code to build the model.
"xyac_model"
mrcaseb/fastrmodels documentation built on Jan. 25, 2024, 5:51 p.m.