Re: [R] 1-d function fitting

2007-10-25 Thread Peter Dalgaard
Rolf Turner wrote: > On 26/10/2007, at 10:14 AM, m p wrote: > > >> Hello, >> I'd like to check if my data can be well approximated with a function >> (1+x/L) exp(-x/L) >> and calculate the best value for L. Is there some package in R that >> would simplify that task? >> Thanks, >> Mark >>

Re: [R] 1-d function fitting

2007-10-25 Thread m p
No, that's not my homework. Does that seem so easy? Mark Rolf Turner <[EMAIL PROTECTED]> wrote: On 26/10/2007, at 10:14 AM, m p wrote: > Hello, > I'd like to check if my data can be well approximated with a function > (1+x/L) exp(-x/L) > and calculate the best value for L. Is there some package

Re: [R] 1-d function fitting

2007-10-25 Thread Rolf Turner
On 26/10/2007, at 10:14 AM, m p wrote: > Hello, > I'd like to check if my data can be well approximated with a function > (1+x/L) exp(-x/L) > and calculate the best value for L. Is there some package in R that > would simplify that task? > Thanks, > Mark Is this a homework question?