Ch {baseballDBR}R Documentation

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)


[Package baseballDBR version 0.1.2 Index]