[R] equation of a line or curve
ligges at statistik.tu-dortmund.de
Tue Nov 25 12:19:17 CET 2008
Peter Dalgaard wrote:
> Uwe Ligges wrote:
>> CE.KA wrote:
>>> Hi R users
>>> I used the function line(x,y) and line(lowess(x,y)) to see the
>>> between 2 variables (x,y).
>>> Here is my question:
>>> is there a way to ask R to tell me the equation of
>>> -this line : line(x,y)
>> The equation if line(x,y)? It is given by the n data points directly and
>> consists of n-1 separate linear parts.
> line() not lines()...
Bad thing, I invented some S rather than R.
>  -26.053 4.421
> I'm a bit confused as to how you can avoid finding the equation of the
> line from that output!
More information about the R-help