Re: [R] Function built with segments

2007-12-15 Thread Martin Maechler
> "t" == thierrydb <[EMAIL PROTECTED]> > on Fri, 14 Dec 2007 07:19:56 -0800 (PST) writes: t> Hello, t> I'm new to R. If I have a set of 10 points (X(i), Y(i)), is there an elegant t> way to build a function y=f(x) that would be build out of the consecutive t> segmen

[R] Function built with segments

2007-12-15 Thread thierrydb
Hello, I'm new to R. If I have a set of 10 points (X(i), Y(i)), is there an elegant way to build a function y=f(x) that would be build out of the consecutive segments of X(j),Y(j) points (with X(j) sorted)? Thank you very much TDB -- View this message in context: http://www.nabble.com/Fun