Package: BasketballAnalyzeR 0.8.1

Marco Sandri

BasketballAnalyzeR: Analysis and Visualization of Basketball Data

Contains data and code to accompany the book P. Zuccolotto and M. Manisera (2020) Basketball Data Science. Applications with R. CRC Press. ISBN 9781138600799.

Authors:Marco Sandri [aut, cre], Paola Zuccolotto [aut], Marica Manisera [aut]

BasketballAnalyzeR_0.8.1.tar.gz
BasketballAnalyzeR_0.8.1.zip(r-4.7-any)BasketballAnalyzeR_0.8.1.zip(r-4.6-any)BasketballAnalyzeR_0.8.1.zip(r-4.5-any)
BasketballAnalyzeR_0.8.1.tgz(r-4.6-any)BasketballAnalyzeR_0.8.1.tgz(r-4.5-any)
BasketballAnalyzeR_0.8.1.tar.gz(r-4.7-any)BasketballAnalyzeR_0.8.1.tar.gz(r-4.6-any)
BasketballAnalyzeR_0.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
BasketballAnalyzeR/json (API)

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

Bug tracker:https://github.com/sndmrc/basketballanalyzer/issues

Datasets:
  • Obox - Opponents box scores dataset - NBA 2017-2018
  • Pbox - Players box scores dataset - NBA 2017-2018
  • PbP.BDB - Play-by-play dataset - NBA 2017-2018
  • Tadd - Tadd dataset - NBA 2017-2018
  • Tbox - Teams box scores dataset - NBA 2017-2018

On CRAN:

Conda:

basketball-statsdata-analysisdata-science

5.20 score 36 stars 89 scripts 472 downloads 29 exports 60 dependencies

Last updated from:419794e0d3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK168
source / vignettesOK375
linux-releaseOK193
macos-releaseOK212
macos-oldrelOK209
windows-develOK155
windows-releaseOK180
windows-oldrelOK119
wasm-releaseOK119

Exports:assistnetbarlinebubbleplotcorranalysisdensityplotdrawNBAcourtexpectedptsfourfactorshclusteringinequalityis.assistnetis.corranalysisis.fourfactorsis.hclusteringis.inequalityis.kclusteringis.MDSmapis.simpleregis.variabilitykclusteringMDSmapPbPmanipulationradialprofilescatterplotscoringprobshotchartsimpleregTOPboxesvariability

Dependencies:bitbit64clicliprcodacorrplotcpp11crayondata.tabledirectlabelsdplyrfarverforcatsgenericsGGallyggplot2ggrepelggstatsgluegridExtragtablegtoolshmsisobandlabelinglatticelifecyclemagrittrMASSmathjaxrMatrixoperatorspatchworkPBSmappingpillarpkgconfigplyrprettyunitsprogresspurrrR6RColorBrewerRcppreadrrlangS7scalesspstatnet.commonstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithr

Readme and manuals

Help Manual

Help pageTopics
Investigates the network of assists-shots in a teamassistnet
Draws a bar-line plotbarline
Draws a bubble plotbubbleplot
Correlation analysiscorranalysis
R function CreateRadialPlot by William D. Vickers, freely downloadable from the webCreateRadialPlot
Computes and plots kernel density estimation of shots with respect to a concurrent variabledensityplot
Add lines of NBA court to an existing ggplot2 plotdrawNBAcourt
Plots expected points of shots as a function of the distance from the basket (default) or another variableexpectedpts
Calculates possessions, pace, offensive and defensive rating, and Four Factorsfourfactors
Agglomerative hierarchical clusteringhclustering
Inequality analysisinequality
Reports whether x is a 'networkdata' objectis.assistnet
Reports whether x is a 'corranalysis' objectis.corranalysis
Reports whether x is a 'fourfactors' objectis.fourfactors
Reports whether x is a 'hclustering' objectis.hclustering
Reports whether x is a 'inequality' object.is.inequality
Reports whether x is a 'kclustering' objectis.kclustering
Reports whether x is a 'MDSmap' objectis.MDSmap
Reports whether x is a 'simplereg' objectis.simplereg
Reports whether x is a 'variability' objectis.variability
K-means cluster analysiskclustering
Multidimensional scaling (MDS) in 2 dimensionsMDSmap
Opponents box scores dataset - NBA 2017-2018Obox
Players box scores dataset - NBA 2017-2018Pbox
Play-by-play dataset - NBA 2017-2018PbP.BDB
Adapts the standard file supplied by BigDataBall to the format required by BasketballAnalyzeRPbPmanipulation
Plots a network from a 'assistnet' objectplot.assistnet
Plots the correlation matrix and the correlation network from a 'corranalysis' objectplot.corranalysis
Plot possessions, pace, offensive and defensive rating, and Four Factors from a 'fourfactors' objectplot.fourfactors
Plots hierarchical clustering from a 'hclustering' objectplot.hclustering
Plot Lorenz curve from a 'inequality' objectplot.inequality
Plot k-means clustering from a 'kclustering' objectplot.kclustering
Draws two-dimensional plots for multidimensional scaling (MDS) from a 'MDSmap' objectplot.MDSmap
Plot simple regression from a 'simplereg' objectplot.simplereg
Plots a variability diagram from a 'variability' objectplot.variability
Draws radial plots for player profilesradialprofile
Draws a scatter plot or a matrix of scatter plotsscatterplot
Plots scoring probability of shots as a function of a given variablescoringprob
Plots different kinds of charts based on shot coordinatesshotchart
Simple linear and nonparametric regressionsimplereg
Tadd dataset - NBA 2017-2018Tadd
Teams box scores dataset - NBA 2017-2018Tbox
Calculate Team, Opponents and Players box scores (Tbox, Obox and Pbox)TOPboxes
Variability analysisvariability