Re: [R] Obtaining a derivative of nls() SSlogis function

2011-11-19 Thread Katrina Bennett
Thank you to all who have made great suggestions. Both Gabor and David's methods work well for me. I see now where I was going wrong with this, I wasn't loading it to a function. I also did not know expression could be used in that way. Thank you very much for your help! Katrina On Fri, Nov 18,

Re: [R] Obtaining a derivative of nls() SSlogis function

2011-11-18 Thread Gabor Grothendieck
On Thu, Nov 17, 2011 at 4:40 PM, Katrina Bennett wrote: > Hello, I am wondering if someone can help me. I have the following function > that I derived using nls() SSlogis. I would like to find its derivative. I > thought I had done this using deriv(), but for some reason this isn't > working out f

Re: [R] Obtaining a derivative of nls() SSlogis function

2011-11-18 Thread John C Nash
be there are other approaches too. JN On 11/18/2011 06:00 AM, r-help-requ...@r-project.org wrote: > Message: 88 > Date: Thu, 17 Nov 2011 12:40:59 -0900 > From: Katrina Bennett > To: r-help@r-project.org > Subject: [R] Obtaining a derivative of nls() SSlogis function > Message-

Re: [R] Obtaining a derivative of nls() SSlogis function

2011-11-18 Thread David Winsemius
On Nov 17, 2011, at 4:40 PM, Katrina Bennett wrote: Hello, I am wondering if someone can help me. I have the following function that I derived using nls() SSlogis. I would like to find its derivative. I thought I had done this using deriv(), but for some reason this isn't working out for me

[R] Obtaining a derivative of nls() SSlogis function

2011-11-17 Thread Katrina Bennett
Hello, I am wondering if someone can help me. I have the following function that I derived using nls() SSlogis. I would like to find its derivative. I thought I had done this using deriv(), but for some reason this isn't working out for me. Here is the function: asym <- 84.951 xmid <- 66.90742 sca