Package: NFLSimulatoR 0.4.0

NFLSimulatoR: Simulating Plays and Drives in the NFL

The intent here is to enable the simulation of plays/drives and evaluate game-play strategies in the National Football League (NFL). Built-in strategies include going for it on fourth down and varying the proportion of passing/rushing plays during a drive. The user should be familiar with nflscrapR data before trying to write his/her own strategies. This work is inspired by a blog post by Mike Lopez, currently the Director of Data and Analytics at the NFL, Lopez (2019) <https://statsbylopez.netlify.app/post/resampling-nfl-drives/>.

Authors:Ryan Elmore [cre, aut], Ben Williams [aut], Will Palmquist [aut]

NFLSimulatoR_0.4.0.tar.gz
NFLSimulatoR_0.4.0.zip(r-4.5)NFLSimulatoR_0.4.0.zip(r-4.4)NFLSimulatoR_0.4.0.zip(r-4.3)
NFLSimulatoR_0.4.0.tgz(r-4.4-any)NFLSimulatoR_0.4.0.tgz(r-4.3-any)
NFLSimulatoR_0.4.0.tar.gz(r-4.5-noble)NFLSimulatoR_0.4.0.tar.gz(r-4.4-noble)
NFLSimulatoR_0.4.0.tgz(r-4.4-emscripten)NFLSimulatoR_0.4.0.tgz(r-4.3-emscripten)
NFLSimulatoR.pdf |NFLSimulatoR.html
NFLSimulatoR/json (API)
NEWS

# Install 'NFLSimulatoR' in R:
install.packages('NFLSimulatoR', repos = c('https://rtelmore.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rtelmore/nflsimulator/issues

On CRAN:

5.51 score 16 stars 4 scripts 275 downloads 7 exports 52 dependencies

Last updated 2 years agofrom:44ccf3e55b. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winNOTEOct 26 2024
R-4.5-linuxNOTEOct 26 2024
R-4.4-winNOTEOct 26 2024
R-4.4-macNOTEOct 26 2024
R-4.3-winNOTEOct 26 2024
R-4.3-macNOTEOct 26 2024

Exports:down_distance_updaterexpected_pts_fourthprep_pbp_datasample_drivessample_fourth_down_strategysample_passes_rushes_strategysample_play

Dependencies:cachemclicodetoolscpp11crayoncurldata.tabledigestdplyrfansifastmapfastrmodelsfurrrfuturegenericsglobalsgluehmsjanitorjsonlitelatticelifecyclelistenvlubridatemagrittrMatrixmemoisemgcvnflfastRnflreadrnlmeparallellypillarpkgconfigprettyunitsprogressprogressrpurrrR6rappdirsrlangsnakecasestringistringrtibbletidyrtidyselecttimechangeutf8vctrswithrxgboost

Basic Functionality in NFLSimulator

Rendered fromnflsimulator-basics.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-08-17
Started: 2021-01-01

Generating a Series of Drives in NFLSimulatoR

Rendered fromnflsimulator-generate-drives.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-08-17
Started: 2021-01-31