LOB_pct {baseballDBR}R Documentation

Pitching: Calculate the left on base percentage

Description

Find the percentage of base runners that a pitcher leaves on base of the course of a season. Required fields from the Pitching table are; "H", "BB", "HBP", "R", and "HR."

Usage

LOB_pct(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, K_9, WHIP

Examples


data("Pitching2016")
head(Pitching2016)

Pitching2016$LOB_pct <- LOB_pct(Pitching2016)


[Package baseballDBR version 0.1.2 Index]