BasketballAnalyzeR

BasketballAnalyzeR is an R package that accompanies the book:

P. Zuccolotto and M. Manisera (2020) Basketball Data Science – With Applications in R, Chapman and Hall/CRC. ISBN 9781138600799.

It has been developed by Marco Sandri, Paola Zuccolotto, Marica Manisera (Big&Open Data Innovation Laboratory BODaI-Lab, University of Brescia) and provides functions for analysis and visualization of Basketball Data.

This web page gives details and information about the package.


Supplementary material for the book

Codes for reproducing the case studies presented throughout the book with BasketballAnalyzeR – R code checked under R-3.5.3 for Windows (64 bit) and for Mac OS X 10.11

Download in pdf format

Download in R format

Overview of the book (Chapter Abstracts)


Authors have invested a lot of time and effort in creating this package. Please give credit and cite BasketballAnalyzeR when you use it for data analysis.

Suggested citations:

Download BibTeX citations for the book and the R package BasketballAnalyzeR


How to install BasketballAnalyzeR

BasketballAnalyzeR is on CRAN and github.

Step 1 – Installing R
Step 2 – Installing BasketballAnalyzeR

There are three alternative procedures, that can be optionally chosen by the user.

PROCEDURE 1 – STANDARD INSTALLATION FROM CRAN
PROCEDURE 2 – INSTALLATION FROM LOCAL ZIP FILE
PROCEDURE 3 – INSTALLATION OF DEVELOPMENT VERSION

With this procedure the user can install the latest version of the package, with the most recent updates in development version, not yet implemented in the CRAN version of the package.

 

With BasketballAnalyzeR the following packages are automatically installed: ggplot2, hexbin, plyr, dplyr, tidyr, rlang, magrittr, ggrepel, gridExtra, scales, MASS, directlabels, corrplot, ggplotify, network, sna, dendextend, circlize, PBSmapping, sp, operators, stringr, GGally, statnet, common, ggnetwork, readr.


Data for exercises

All the data are in .Rdata format and can be used to reproduce the analyses presented in the book on other datasets


Supplementary code


FAQ

See the most frequently asked questions


ERRATA CORRIGE of the book “Basketball Data Science”

See the errata corrige


Send your questions to basketballanalyzer.help@unibs.it