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

2010-12-20 Thread Jared Blashka
to everyone who helped, Jared On Wed, Dec 15, 2010 at 8:47 AM, dave fournier da...@otter-rsch.com 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 I was able

[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 =

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

2010-12-13 Thread Jared Blashka
Department of Statistics UC Berkeley spec...@stat.berkeley.edu On Mon, 13 Dec 2010, Jared Blashka wrote: I'm attempting to calculate a regression in R that I normally use Prism for, because the formula isn't

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

2010-10-15 Thread Jared Blashka
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 evilamaran...@gmail.comwrote: As an addendum to my question, I'm attempting to apply the solution to the robust non-linear regression function nlrob from the robustbase package

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

2010-10-13 Thread Jared Blashka
method of using nlrob in the same way? Thanks, Jared On Tue, Oct 12, 2010 at 8:58 AM, Jared Blashka evilamaran...@gmail.comwrote: 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 out how to alter the formula to work

[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