# Analysis and Visualization of Basketball Data

## Documentation for package ‘BasketballAnalyzeR’ version 0.5.0

- DESCRIPTION file.

## Help Pages

assistnet | Investigates the network of assists-shots in a team
barline | Draws a bar-line plot
bubbleplot | Draws a bubble plot
corranalysis | Correlation analysis
CreateRadialPlot | R function CreateRadialPlot by William D. Vickers, freely downloadable from the web
densityplot | Computes and plots kernel density estimation of shots with respect to a concurrent variable
drawNBAcourt | Add lines of NBA court to an existing ggplot2 plot
expectedpts | Plots expected points of shots as a function of the distance from the basket (default) or another variable
fourfactors | Calculates possessions, pace, offensive and defensive rating, and Four Factors
hclustering | Agglomerative hierarchical clustering
inequality | Inequality analysis
is.assistnet | Reports whether x is a 'networkdata' object
is.corranalysis | Reports whether x is a 'corranalysis' object
is.fourfactors | Reports whether x is a 'fourfactors' object
is.hclustering | Reports whether x is a 'hclustering' object
is.inequality | Reports whether x is a 'inequality' object.
is.kclustering | Reports whether x is a 'kclustering' object
is.MDSmap | Reports whether x is a 'MDSmap' object
is.simplereg | Reports whether x is a 'simplereg' object
is.variability | Reports whether x is a 'variability' object
kclustering | K-means cluster analysis
MDSmap | Multidimensional scaling (MDS) in 2 dimensions
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
PbPmanipulation | Adapts the standard file supplied by BigDataBall to the format required by BasketballAnalyzeR
plot.assistnet | Plots a network from a 'assistnet' object
plot.corranalysis | Plots the correlation matrix and the correlation network from a 'corranalysis' object
plot.fourfactors | Plot possessions, pace, offensive and defensive rating, and Four Factors from a 'fourfactors' object
plot.hclustering | Plots hierarchical clustering from a 'hclustering' object
plot.inequality | Plot Lorenz curve from a 'inequality' object
plot.kclustering | Plot k-means clustering from a 'kclustering' object
plot.MDSmap | Draws two-dimensional plots for multidimensional scaling (MDS) from a 'MDSmap' object
plot.simplereg | Plot simple regression from a 'simplereg' object
plot.variability | Plots a variability diagram from a 'variability' object
radialprofile | Draws radial plots for player profiles
scatterplot | Draws a scatter plot or a matrix of scatter plots
scoringprob | Plots scoring probability of shots as a function of a given variable
shotchart | Plots different kinds of charts based on shot coordinates
simplereg | Simple linear and nonparametric regression
Tadd | Tadd dataset - NBA 2017-2018
Tbox | Teams box scores dataset - NBA 2017-2018
variability | Variability analysis