Learn R Programming

npsm (version 2.0.0)

bb2010: Batting statistics for the 2010 baseball season.

Description

Batting (average, home runs, RBIs) statistics for 2010 full time players. By full time we mean that the batter had at least 450 official at bats during the season.

Usage

data(bb2010)

Arguments

Format

A data frame with 122 observations on the following 3 variables.

ave

batting average

hr

home runs

rbi

runs batted in

Examples

Run this code
plot(hr~ave,data=bb2010)

Run the code above in your browser using DataLab