search for: robleos01

Displaying 1 result from an estimated 1 matches for "robleos01".

2006 Feb 23
2
Working with lists with numerical names
...the database columns have numbers in them (2B, 3B), and when I try to use these vectors from the data frame, I get syntax errors, probably because it's interpreting the name as a number: > show(batting2005) playerID yearID stint teamID lgID G AB R H 2B 3B HR RBI SB CS BB 1 robleos01 2005 1 LAN NL 110 364 44 99 18 1 5 34 0 8 31 2 iguchta01 2005 1 CHA AL 135 511 74 142 25 6 15 71 15 5 47 3 molinya01 2005 1 SLN NL 114 385 36 97 15 1 8 49 2 3 23 . . . > print(batting2005$HR) [1] 5 15 8 3 14 3 6 21 8 7 9...