compare_tile: Compare Rate or Mean Distributions

View source: R/compare_tile.R

compare_tileR Documentation

Compare Rate or Mean Distributions

Description

Constructs heat map of one more Statcast datasets

Usage

  compare_tile(df, type = "ms", Ncol = 2)

Arguments

df

list of data frames containing Statcast datasets

type

abbreviation for variable to be graphed

Ncol

number of columns in faceted display

Value

Constructs 2 x 2 grid of heat maps of the variable (choices for type are called strike ("cs"), swing ("sw"), miss swing ("ms"), hit ("h"), home run ("hr"), launch angle ("la"), launch speed ("ls"), and spray angle ("sa"))

Author(s)

Jim Albert


bayesball/CalledStrike documentation built on April 29, 2024, 6:21 p.m.