PA: Batting: Calculate plate appearances for batters

Description Usage Arguments See Also Examples

Description

Find the plate appearances (PA) for batters. Required fields from the batting table are "AB", "BB", "HBP", "SH", and "SF."

Usage

1
PA(dat = NULL)

Arguments

dat

A data frame you would wish to calculate. The data frame must have the same column names found in The Lahman package or the Chadwick Bureau GitHub repository.

See Also

Other Batting functions: BABIP, BA, BBpct, CTpct, HRpct, ISO, Kpct, OBP, OPS, RC2002, RCbasic, RCtech, SLG, TBs, XBHpct, XBperH, wOBA, wRAA, wRC

Examples

1
2
3
4

keberwein/moneyball documentation built on May 20, 2019, 8:29 a.m.