K_9 {baseballDBR}R Documentation

Pitching: Calculate Strikes per Nine innings

Description

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

Usage

K_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, H_9, IP, LOB_pct, WHIP

Examples


data("Pitching2016")
head(Pitching2016)

Pitching2016$K_9 <- K_9(Pitching2016)


[Package baseballDBR version 0.1.2 Index]