Re: [R] automate curve drawing on nls() object

2010-05-19 Thread array chip
I do know it, but wanted to spend a little more effort to make generalized function for this type of plot. Thanks --- On Tue, 5/18/10, Shi, Tao wrote: > From: Shi, Tao > Subject: Re: [R] automate curve drawing on nls() object > To: "array chip" , r-help@r-project.org >

Re: [R] automate curve drawing on nls() object

2010-05-18 Thread Shi, Tao
8/10, > Shi, Tao < > href="mailto:shida...@yahoo.com";>shida...@yahoo.com> wrote: > > From: Shi, Tao < > href="mailto:shida...@yahoo.com";>shida...@yahoo.com> > Subject: Re: > [R] automate curve drawing on nls() object > To: "array chip&qu

Re: [R] automate curve drawing on nls() object

2010-05-18 Thread array chip
Sorry that I forgot to attach the data file. Indeed, this is a much simpler way to do this. Thanks --- On Tue, 5/18/10, Ben Bolker wrote: > From: Ben Bolker > Subject: Re: [R] automate curve drawing on nls() object > To: r-h...@stat.math.ethz.ch > Date: Tuesday, May 18, 2

Re: [R] automate curve drawing on nls() object

2010-05-18 Thread array chip
  You still can automate the whole > process this way, right? > > > > > > - Original Message > > From: array chip > > To: r-help@r-project.org > > Sent: Tue, May 18, 2010 4:13:33 PM > > Subject: [R] automate curve drawing on nls() obje

Re: [R] automate curve drawing on nls() object

2010-05-18 Thread Shi, Tao
oject.org > Sent: Tue, May 18, 2010 4:13:33 PM > Subject: [R] automate curve drawing on nls() object > > Hi, I would like to use the curve() function to draw the predicted curve from > an > nls() object. for > example: dd<-read.table("dd.txt",sep='\t',h

Re: [R] automate curve drawing on nls() object

2010-05-18 Thread Ben Bolker
array chip yahoo.com> writes: > Hi, I would like to use the curve() function to draw the > predicted curve from an nls() object. for example: > Is there a reason you don't want to use plot() and predict() ??? > dd<-read.table("dd.txt",sep='\t',header=T,row.names=1) note that this is no

[R] automate curve drawing on nls() object

2010-05-18 Thread array chip
Hi, I would like to use the curve() function to draw the predicted curve from an nls() object. for example: dd<-read.table("dd.txt",sep='\t',header=T,row.names=1) obj<-nls(y~c+(d-c)/(1+(x/e)^b),data=dd,start=list(b=-1, c=0, d=100, e=150)) coef(obj) b c d e