Package: nfl4th 1.0.7

nfl4th: Functions to Calculate Optimal Fourth Down Decisions in the National Football League
A set of functions to estimate outcomes of fourth down plays in the National Football League and obtain fourth down plays from <https://www.nfl.com/> and <https://www.espn.com/>.
Authors:
nfl4th_1.0.7.tar.gz
nfl4th_1.0.7.zip(r-4.7)nfl4th_1.0.7.zip(r-4.6)nfl4th_1.0.7.zip(r-4.5)
nfl4th_1.0.7.tgz(r-4.6-any)nfl4th_1.0.7.tgz(r-4.5-any)
nfl4th_1.0.7.tar.gz(r-4.7-any)nfl4th_1.0.7.tar.gz(r-4.6-any)
nfl4th_1.0.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
nfl4th/json (API)
| # Install 'nfl4th' in R: |
| install.packages('nfl4th', repos = c('https://nflverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/nflverse/nfl4th/issues
Pkgdown/docs site:https://www.nfl4th.com
Last updated from:3738a8a01c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 180 | ||
| source / vignettes | OK | 290 | ||
| linux-release-x86_64 | OK | 165 | ||
| macos-release-arm64 | OK | 111 | ||
| macos-oldrel-arm64 | OK | 119 | ||
| windows-devel | OK | 129 | ||
| windows-release | OK | 96 | ||
| windows-oldrel | OK | 98 | ||
| wasm-release | OK | 155 |
Exports:add_2pt_probsadd_4th_probsget_4th_playsload_4th_pbpmake_2pt_table_datamake_table_datanfl4th_clear_cache
Dependencies:cachemclicodetoolscpp11curldata.tabledigestdplyrfastmapfastrmodelsfurrrfuturegenericsglobalsgluehmsjanitorjsonlitelatticelifecyclelistenvlubridatemagrittrMatrixmemoisemgcvnflfastRnflreadrnlmeparallellypillarpkgconfigprogressrpurrrR6rappdirsrlangsnakecasestringistringrtibbletidyrtidyselecttimechangeutf8vctrswithrxgboost
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Get 2pt decision probabilities | add_2pt_probs |
| Get 4th down decision probabilities | add_4th_probs |
| Get 4th down plays from a game | get_4th_plays |
| Load calculated 4th down probabilities from 'nflfastR' data | load_4th_pbp |
| Get 2pt decision probabilities | make_2pt_table_data |
| Get 4th down decision probabilities | make_table_data |
| Reset nfl4th Package Cache | nfl4th_clear_cache |
