Description Usage Arguments See Also Examples
Find the plate appearances (PA) for batters. Required fields from the batting table are "AB", "BB", "HBP", "SH", and "SF."
1 |
dat |
A data frame you would wish to calculate. The data frame must have the same column names found in
The |
Other Batting functions: BABIP
,
BA
, BBpct
,
CTpct
, HRpct
,
ISO
, Kpct
, OBP
,
OPS
, RC2002
,
RCbasic
, RCtech
,
SLG
, TBs
,
XBHpct
, XBperH
,
wOBA
, wRAA
, wRC
1 2 3 4 | data("Batting2016")
head(Batting2016)
Batting2016$PA <- PA(Batting2016)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.