Models for the 'nflfastR' Package

A data package that hosts all models for the 'nflfastR' package.


fastrmodels

CRANstatus CRANdownloads Devstatus R buildstatus nflversesupport

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")

To get a bug fix or to use a feature from the development version, you can install the development version of nflplotR either from GitHub with:

if (!require("remotes")) install.packages("remotes")
remotes::install_github("nflverse/fastrmodels")

or prebuilt from the development repo with:

install.packages("fastrmodels", repos = "https://nflverse.r-universe.dev")

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fastrmodels")

2.1.0 by Sebastian Carl, 8 months ago


https://github.com/nflverse/fastrmodels


Report a bug at https://github.com/nflverse/fastrmodels/issues


Browse source code at https://github.com/cran/fastrmodels


Authors: Sebastian Carl [cre, aut] , Ben Baldwin [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports xgboost

Suggests testthat


Imported by nflfastR.


See at CRAN