Guest User

Untitled

a guest
Jun 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. > #Note: X and Y values are subtracted from 250 because the way that the field is represented is flipped from our traditional view.
  2. > ggplot(data=edited_atbat_table[edited_atbat_table$bat_mlbid == 656555,], aes(x=250 - hit_x,y= 250 - hit_y))+
  3. + geom_point()+
  4. + xlim(0,250)+
  5. + ylim(0,250)+
  6. + labs(title='Rhys Hoskins Batted Balls, 2017',subtitle='Source: MiLB Pitch Data')
  7. Warning message:
  8. Removed 145 rows containing missing values (geom_point).
Add Comment
Please, Sign In to add comment