getFieldResp: getFieldResp

Description Usage Arguments Details Value Examples

Description

Determine the responsibility of the fielders

Usage

1

Arguments

data

An MLBAM data.frame

Details

Computes a 2D kernel smoothed estimate of the probability that *any* of the 9 fielders will make a play on a ball in play

Value

a vector representing the probability that each ball in play will be fielded

Examples

1
2
ds = getData()
ds$resp.field = getFieldResp(ds)

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