Learn R Programming

openWAR (version 0.2.2.9001)

makeWARFielding: makeWARFielding

Description

Compute the RAA values for all of the fielders. Used internally in makeWAR.

Usage

makeWARFielding(data, ...)

Arguments

data

A GameDayPlays object

...

currently ignored

Value

A data.frame with 12 columns: p.hat contains the probability that any fielder makes an out given the location of the ball in play; delta.field is the total delta assigned to all of the fielders; columns 3 through 11 contains the delta values for each od the 9 fielders (i.e. these columns sum to delta.field); venueId contains information about the stadium that the plate appearance took place in.