Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Ch

Fielding: Calculate defensive chances


Description

The number of chances a player had to make a defensive play. Required fields from the Fielding table are; "PO", "A", and "E."

Usage

Ch(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 Fielding functions: Fld_pct

Examples

data("Fielding2016")
head(Fielding2016)

Fielding2016$Ch <- Ch(Fielding2016)

baseballDBR

Sabermetrics and Advanced Baseball Statistics

v0.1.2
MIT + file LICENSE
Authors
Kris Eberwein [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.