Re: [R] Complicated nls formula giving singular gradient message

2010-12-20 Thread Jared Blashka
hanks to everyone who helped, Jared On Wed, Dec 15, 2010 at 8:47 AM, dave fournier wrote: > Jared Blashka wrote: > > Hi, > > Can you write a little note to the R list saying something like > > Re: SOLVED[R] Complicated nls formula giving singular gradient > message &g

Re: [R] Complicated nls formula giving singular gradient message

2010-12-13 Thread Jared Blashka
s. > > Admittedly this function is trivial, but perhaps in your case > you could use the segments from prism to construct a function > for the right-hand side of your nls call. > > Hope this helps. > - Phil Spector >

[R] Complicated nls formula giving singular gradient message

2010-12-13 Thread Jared Blashka
I'm attempting to calculate a regression in R that I normally use Prism for, because the formula isn't pretty by any means. Prism presents the formula (which is in the Prism equation library as Heterologous competition with depletion, if anyone is curious) in these segments: KdCPM = KdnM*SpAct*Vo

Re: [R] Nonlinear Regression Parameter Shared Across Multiple Data Sets

2010-10-15 Thread Jared Blashka
ndering if there was a way to accomplish the end goal without those measures. Thanks, Jared On Wed, Oct 13, 2010 at 3:14 PM, Jared Blashka wrote: > As an addendum to my question, I'm attempting to apply the solution to the > robust non-linear regression function nlrob from the robus

Re: [R] Nonlinear Regression Parameter Shared Across Multiple Data Sets

2010-10-13 Thread Jared Blashka
lue. Am I correct and is there another method of using nlrob in the same way? Thanks, Jared On Tue, Oct 12, 2010 at 8:58 AM, Jared Blashka wrote: > Thanks so much! It works great. > > I had thought the way to do it relied on combining the data sets, but I > couldn't figure ou

[R] Displaying a variable as an expression into a plot label, but the variable has brackets

2010-10-12 Thread Jared Blashka
I'm attempting to insert variables as expressions into labels for my plots, but I'm running into the issue that characters in my labels aren't allowed in expressions, notably '[' and ']'. An input string of "[^3H]5-CT" needs to be displayed as [3H]5-CT with the 3 as superscript. But brackets aren't

[R] Nonlinear Regression Parameter Shared Across Multiple Data Sets

2010-10-11 Thread Jared Blashka
I'm working with 3 different data sets and applying this non-linear regression formula to each of them. nls(Y ~ (upper)/(1+10^(X-LOGEC50)), data=std_no_outliers, start=list(upper=max(std_no_outliers$Y),LOGEC50=-8.5)) Previously, all of the regressions were calculated in Prism, but I'd like to be