Learn R Programming

openWAR (version 0.2.2.9001)

getModelFieldingCollective: getModelFieldingCollective

Description

Determine the responsibility of the fielders, collectively

Usage

getModelFieldingCollective(data)

# S3 method for GameDayPlays getModelFieldingCollective(data)

# S3 method for default getModelFieldingCollective(data)

Arguments

data

A GameDayPlays object

Value

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

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

Examples

Run this code
# NOT RUN {
fmod <- getModelFieldingCollective(May)
plotFielding(fmod)
# }

Run the code above in your browser using DataLab