setBIPresp: setBIPresp

Description Usage Arguments Details Value Examples

Description

Find the shared responsibility for balls in play

Usage

1

Arguments

data

An MLBAM data.frame

Details

Fits 9 logistic regression models, each giving the probability of a fielder at one of the 9 defensive positions successfully converting the ball into at least one out.

Value

data.frame with 9 columns, each row representing a ball in play

Examples

1
2
ds = getData()
setBIPresp(ds)

frogman141/openWAR documentation built on Dec. 20, 2021, 8:52 a.m.