Learn R Programming

openWAR (version 0.2.2.9001)

plot.openWARPlayers: plot.openWARPlayers

Description

Display a season's worth of openWAR results

Usage

# S3 method for openWARPlayers
plot(x, ...)

Arguments

x

A data.frame object of class openWARPlayers

...

arguments passed to xyplot.

Details

Given an openWARPlayers object, draw a plot displaying each player's RAA, WAR, and replacement level shadow.

Examples

Run this code
# NOT RUN {
MayProcessed = makeWAR(May)
# }
# NOT RUN {
war = getWAR(MayProcessed$openWAR)
summary(war)
plot(war)
# }

Run the code above in your browser using DataLab