The description says for slope() and intercept() the first argument is dependent and the second, independent variable, which implies, for example, slope(y,x).
The behaviour is just the opposite: arg1 is independent, arg2 is dependent.
Log in to post a comment.