Finds the players who are most unique to all other players in a given dataset of batted ball data from FanGraphs
similarityToolMostUniqueBB(battedBallVals, numResults = 10)
A dataframe of batted ball data from FanGraphs.
An integer. Defaults to 10.
BattedBallVals are designed to be from FanGraphs, using the Batted Ball tab. They must contain all of the following attributes (other values can be included, but will not be used): GB%, LD%, FB%, HR/FB, Pull%, Cent%, Oppo%, Soft%, Med%, Hard%, Name.
A dataframe of the players with the highest net similarity score.
Similarity scores will differ depending upon the sample size presented due to the normalization applied in the creation of the scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.