Re: [R] Calculate mean slope of a function

2010-03-11 Thread Rolf Turner
On 12/03/2010, at 4:27 AM, Antje Steller wrote: > Hallo, > hope you can help me with this question: > > I have calculated a function using f<-smooth.spline(data) and > approxfun(f). Now I want to calculate the mean slope of the resulting > function. > > Haven't found the right R command yet, ma

[R] Calculate mean slope of a function

2010-03-11 Thread Antje Steller
Hallo, hope you can help me with this question: I have calculated a function using f<-smooth.spline(data) and approxfun(f). Now I want to calculate the mean slope of the resulting function. Haven't found the right R command yet, maybe you can give me a hint. Thanx, Antje ___