Hey.
I tried to make a function that could calculate the function of a "average" line. See my picture:
http://home1.stofanet.dk/orhan/regr.jpg
The language is danish but if you know about regression you will understand the variables. What have I done wrong?
or.han