Skip to content

NFLSimulatoR

Simulating Plays and Drives in the NFL

v0.4.0 · Aug 19, 2022 · MIT + file LICENSE

Description

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/>.

Downloads

263

Last 30 days

16453rd

817

Last 90 days

3.5K

Last year

Trend: -6.4% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘nflfastR’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘nflfastR’
  All declared Imports should be used.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘nflfastR’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘nflfastR’
  All declared Imports should be used.

Dependency Network

Dependencies Reverse dependencies data.table progress nflfastR NFLSimulatoR

Version History

new 0.4.0 Mar 10, 2026
updated 0.4.0 ← 0.3.0 diff Aug 18, 2022
updated 0.3.0 ← 0.2.1 diff Jan 5, 2021
updated 0.2.1 ← 0.2 diff Dec 7, 2020
updated 0.2 ← 0.1.0 diff Nov 30, 2020
new 0.1.0 Nov 22, 2020