I am working on a project trying to figure out if there is any correlation between the baseball WAR statistic and a player's salary. I've got a data frame that has both the WAR and the salary. I then go to plot them and I have no idea what is happening, so I think I might have done something wrong on a fundamental level.
this.is.war.2015 <- this.is.war %>%
filter(year_ID == 2015)
this.sal.2015 <- this.is.war.2015 %>%
select(salary)
this.war.2015 <- this.is.war.2015 %>%
select(WAR)
this.sal.2015.2 <- this.sal.2015[2:3,]
this.war.2015.2 <- this.war.2015[2:3,]
plot(this.war.2015.2, this.sal.2015.2)