well my later problem is that, through these functions, I'm calculating slope and intercept.

I then need to have a column next the the Y values, that is: Intercept+ x*slope. Where x would be the increment counter. In this case, I still need that column with incremented numbers to do this.