similarityToolMostSimPitching: Most Similar Players per Pitching Peripherals

Description Usage Arguments Details Value Note Author(s)

Description

Finds the players who are most similar to any other player in a given dataset of pitching peripheral data from FanGraphs

Usage

1
similarityToolMostSimPitching(battedBallVals, numResults = 10)

Arguments

battedBallVals

A dataframe of pitching peripheral data from FanGraphs.

numResults

An integer. Defaults to 10.

Details

BattedBallVals are designed to be from FanGraphs, using the Batted Ball tab in conjunction with K/9 and BB/9 (use the custom report feature to obtain this data). 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%, BB/9, K/9, Name.

Value

A dataframe of the players with the lowest net similarity score.

Note

Similarity scores will differ depending upon the sample size presented due to the normalization applied in the creation of the scores.

Author(s)

John Edwards


Metlover/similarityTool documentation built on May 22, 2019, 1:03 p.m.