Re: [R] fitting a hyperbola to data points

2013-04-09 Thread PIKAL Petr
etter to use nonlinear regression ?nls Regards Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Manoj Srivastava > Sent: Monday, April 08, 2013 6:05 PM > To: r-help@r-project.org > Subject: Re: [R] fitt

Re: [R] fitting a hyperbola to data points

2013-04-08 Thread Manoj Srivastava
On Mon, Apr 08 2013, PIKAL Petr wrote: Thanks for responding. > without data we can provide just basic help. > fit<-lm(Time~I(1/Requests)) > shall give you hyperbolic fit. > You can test if your data follow this assumption by > plot(1/Requests, Time) > which shall for straight line. > >

Re: [R] fitting a hyperbola to data points

2013-04-08 Thread PIKAL Petr
Hi without data we can provide just basic help. fit<-lm(Time~I(1/Requests)) shall give you hyperbolic fit. You can test if your data follow this assumption by plot(1/Requests, Time) which shall for straight line. anyway, when you want to provide data use dput(your.data) and copy console ou