Learn R Programming

baseballr (version 0.2.0)

edge_code: Edge Percentage Scrape

Description

This function allows you to classify individual pitches based on the various categories from the Edge

Usage

edge_code(df)

Arguments

df
A dataframe that, at a minimum, includes the following columns: batter height (b_height), the batter's handedness (stand), vertical location of the pitch (pz), and then horizontal location of the pitch (pz)

Examples

Run this code
## Not run: edge_code(df)

Run the code above in your browser using DataLab