plotFielding: Plot fielding model for a player.

Description Usage Arguments Details Value Examples

Description

Creates a plot of the fielding model for an individual player.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
plotFielding(x, ...)

## S3 method for class 'glm'
plotFielding(x, ...)

## S3 method for class 'lm'
plotFielding(x, ...)

## S3 method for class 'formula'
plotFielding(x, ...)

## Default S3 method:
plotFielding(x, ...)

## S3 method for class 'bkde2D'
plotFielding(x, ...)

panel.fielding(x, y, z, ...)

Arguments

x

a model object, currently lm, glm, and bkde2D are supported. For the default method this is an x-coordinate to be passed to contourplot.

...

arguments passed to panel.contourplot

y

y-coordinate for default method passed to contourplot.

z

z-coordinate for default method passed to contourplot.

Details

This is a convenience function for visually checking the fielding models. It provides a way to inspect the quality of the fielding models for individual players, and was used to generate one of the figures used in the openWAR paper.

Value

A contourplot object

Examples

1
2

beanumber/openWAR documentation built on May 12, 2019, 9:43 a.m.