Learn R Programming

fastrmodels

The R package fastrmodels is a lower level data-only package that includes all models required by the nflfastR package. Since the models take up significant file size, they have been swapped out of the nflfastR package.

Installation

You can install the released version of fastrmodels from CRAN with:

install.packages("fastrmodels")

About the Models

This package hosts the following models:

  • ep_model : the expected points model,
  • wp_model : the win probability model,
  • wp_model_spread : the win probability model that includes pre-game spread lines,
  • fg_model : the field goal model,
  • cp_model : the completion probability model,
  • xyac_model : the expected yards after the catch model,
  • xpass_model : the expected pass model.

The models are open source and detailed descriptions can be found on Open Source Football.

Copy Link

Version

Install

install.packages('fastrmodels')

Monthly Downloads

2,401

Version

1.0.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Carl

Last Published

February 20th, 2021

Functions in fastrmodels (1.0.2)

ep_model

nflfastR Expected Points Model
wp_model

nflfastR Win Probability Model
wp_model_spread

nflfastR Win Probability Model (including Spread)
cp_model

nflfastR Completion Probability Model
xyac_model

nflfastR Expected Yards after Catch Model
fastrmodels-package

fastrmodels: Models for the 'nflfastR' Package
xpass_model

nflfastR Expected Pass Model
fg_model

nflfastR Field Goal Model