Tools for the analysis of basketball data

assistnet | Calculate table of assists and some useful player statistics |

barline | Create a graph with a barplot and a line plot |

bubbleplot | Create a bubble plot |

corranalysis | Correlation analysis |

CreateRadialPlot | R function CreateRadialPlot by William D. Vickers, freely... |

densityplot | Shot density plot |

drawNBAcourt | Add lines of NBA court to an existing ggplot2 plot |

expectedpts | Plot expected points of player shots as a function of the... |

fourfactors | Calculates possession, pace, ratings, and Four Factors |

hclustering | Hierarchical clustering of NBA teams |

inequality | Inequality analysis |

is.assistnet | Reports whether x is a networkdata object |

is.corranalysis | Reports whether x is a corr.analysis object |

is.fourfactors | Reports whether x is a fourfactors object |

is.hclustering | Functions to check if an object is of class 'hclustering'. |

is.inequality | Functions to check if an object is of class 'inequality'. |

is.kclustering | Functions to check if an object is of class 'kclustering'. |

is.MDSmap | Functions to check if an object is of class 'MDSmap'. |

is.simplereg | Reports whether x is a simplereg object |

is.variability | Functions to check if an object is of class 'variability'. |

kclustering | k-means clustering of NBA teams |

MDSmap | Create some two-dimensional plots for multidimensional... |

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 | Manipulate play-by-play (PbP) dataset |

plot.assistnet | Create a network plot |

plot.corranalysis | Plot inequality |

plot.fourfactors | Plot possession, pace, ratings, and Four Factors |

plot.hclustering | Plot hierarchical clustering of NBA teams |

plot.inequality | Plot inequality |

plot.kclustering | Plot k-means clustering of NBA teams |

plot.MDSmap | Draw some two-dimensional plots for multidimensional scaling... |

plot.simplereg | Plot simple regression |

plot.variability | Plot variability |

radialprofile | Plot radial plot for player profiles |

scatterplot | Scatter plot and matrix of scatter plot |

scoringprob | Scoring probability plot |

shotchart | Plot shortcharts |

simplereg | Simple regression |

Tadd | Tadd dataset - NBA 2017-2018 |

Tbox | Teams box scores dataset - NBA 2017-2018 |

variability | Variability analysis |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.