plot.do.openWARPlayers: Visualize resampled openWAR

Description Usage Arguments Details Value Examples

Description

Visualize resampled openWAR

Usage

1
2
## S3 method for class 'do.openWARPlayers'
plot(x, playerIds = c(431151, 285079), ...)

Arguments

x

A data.frame resulting from shakeWAR() of class do.openWARPlayers

playerIds

A vector of valid MLBAM player IDs present in the data argument

...

arguments passed to densityplot

Details

Density Plots for openWAR estimates

Value

a faceted densityplot

Examples

1
2
3
4
5
## Not run: 
openWAR.sim = shakeWAR(May)
plot(openWAR.sim, playerIds = c(431151, 502517, 408234, 285078, 518774, 285079))

## End(Not run)

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