batting(UsingR)
batting()所属R语言包:UsingR
Batting statistics for 2002 baseball season
2002年棒球赛季的棒球统计
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This dataset contains batting statistics for the 2002 baseball season. The data allows you to compute batting averages, on base percentages, and other statistics of interest to baseball fans. The data only contains players with more than 100 atbats for a team in the year. The data is excerpted with permission from the Lahman baseball database at http://www.baseball1.com/.
此数据集包含击球统计数据为2002年的棒球赛季。这些数据可以计算的打击率,上垒率,及其他统计数据的棒球球迷感兴趣的。该数据仅包含玩家与超过100 atbats的一个团队在今年。摘录与许可,从Lahman棒球在http://www.baseball1.com/数据库的数据。
用法----------Usage----------
data(batting)
格式----------Format----------
A data frame with 438 observations on the following 22 variables.
438以下22个变量的观察与数据框。
playerID This is coded, but those familiar with the players
玩家ID这是编码的,但那些熟悉的玩家
yearID a numeric vector. Always 2002 in this dataset.
数字矢量yearID一个。请务必2002年该数据集。
stintID a numeric vector. Player's stint (order of appearances within a season)
stintID一个数值向量。播放器的限制(在一个赛季的出场顺序)
teamID a factor with Team
一个与团队teamID因素
lgID a factor with levels AL NL
lgID一个因素与水平ALNL的
G number of games played
G数上播放的游戏
AB number of at bats
AB在蝙蝠
R number of runs
R个的运行
H number of hits
H编号点击
DOUBLE number of doubles. "2B" in original dat
双号的双打。 “2B”中原始的DAT
TRIPLE number of triples. "3B" in original data base
叁数的三倍。在原始数据的基础上的“3B”
HR number of home runs
HR本垒打
RBI number of runs batted in
打点打点的运行
SB number of stolen bases
SB的盗垒
CS number of times caught stealing
CS次数抓住了
BB number of base on balls (walks)
BB的基础上球(各行各业)
SO number of strikeouts
因此,三振数
IBB number of intentional walks
IBB故意四坏数
HBP number of hit by pitches
HBP命中由沥青
SH number of sacrifice hits
SH牺牲打
SF number of sacrifice flies
SF的牺牲腾空球
GIDP number of grounded into double plays
GIDP号的着陆入双杀
Details
详细信息----------Details----------
Baseball fans are “statistics” crazy. They love to talk about things like RBIs, BAs and OBPs. In order to do so, they need the numbers. This data comes from the Lahman baseball database at http://www.baseball1.com/. The complete dataset includes data for all of baseball not just the year 2002 presented here.
棒球迷的“统计”疯狂的。他们喜欢谈论的东西,如打点,BAS和OBP都。为了做到这一点,他们需要的数字。这个数据来自Lahman棒球在http://www.baseball1.com/数据库。完整的数据集,包括所有的棒球不只是2002年,这里介绍的数据。
源----------Source----------
Lahman baseball database, http://www.baseball1.com/
Lahman棒球数据库,http://www.baseball1.com/
参考文献----------References----------
Curve Ball, by Albert, J. and Bennett, J., Copernicus Books, gives an extensive statistical analysis of baseball.
of common baseball statistics.
实例----------Examples----------
data(batting)
attach(batting)
BA = H/AB # batting average[安打率]
OBP = (H + BB + HBP) / (AB + BB + HBP + SF) # On base "percentage"[的基础上“百分比”]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|