Description Usage Arguments Value Author(s)
View source: R/prob_transitions.R
Constructs the probabilities of all count transition in a plate appearance
1 | prob_transitions(dt, player = "", pitcher = FALSE)
|
dt |
Data frame giving beginning and ending counts for each pitch |
player |
Retrosheet id code for player |
pitcher |
Indicates if the player is a pitcher or batter |
data frame of the samples sizes N, the counts Y, and probabilities P of all count transitions
Jim Albert
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.