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

H_9

Pitching: Calculate Hits per Nine innings


Description

Find the number of hits a pitcher throws per nine innings pitched. Required fields from the Pitching table are; "H", "BB", and "IPouts."

Usage

H_9(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 Pitching functions: BB_9, FIP, HR_9, IP, K_9, LOB_pct, WHIP

Examples

data("Pitching2016")
head(Pitching2016)

Pitching2016$H_9 <- H_9(Pitching2016)

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.