ABSTRACT

BasketballAnalyzeR, an open-source package for the statistical language R, is designed for the analysis and visualization of basketball data. The package takes advantage of the powerful graphical abilities added to R by the ggplot2 package and allows to produce publication-quality graphics with minimal effort. This chapter shows how BasketballAnalyzeR can be used for the statistical analysis of their dataset(s) using the basic knowledge of the R language. The easiest and safest way for a correct replication on an arbitrary dataset of the analyses is to build a data frame with the same structure of the Tbox, Obox, Pbox, Tadd and PbP datasets. The R base graphics engine and the ggplot2 package generate static visualizations of data. Representing multidimensional data with static images is difficult and often requires to describe a variety of perspectives on the same chart.