| brewers1982 {npsm} | R Documentation |
Basic Summaries of Boxscores for the Milwaukee Brewers 1982 Season
Description
Basic Summaries of Boxscores for the Major League Baseball team Milwaukee (WI) Brewers 1982 Season. The Brewers won the American League championship that year. Brewer, Robin Yount won the Most Valueable Player (MVP) award. #Robin Yount. MVP.
Usage
data("brewers1982")
Format
A data frame with 163 observations on the following 8 variables.
Datea character vector
Oppa character vector
Ra numeric vector
RAa numeric vector
Timea character vector
Attendancea numeric vector
homea logical vector
wina logical vector
Examples
data(brewers1982)
# proportion of wins for a given number of runs scored
pwin <- with(brewers1982,tapply(win,R,mean))
pwin
# graphical display of the above
plot(names(pwin),pwin,xlab='Runs', ylab='Proportion of Wins',main='Brewers 1982')
[Package npsm version 2.0.0 Index]