Re: [R] Non linear regression with complex equation

2012-02-28 Thread jeff_hawkes
Apologies for the phrasing of the question. I've sorted the problem (thanks Bert Gunter) by using the curly brackets {} as below (using a simplified version of my real model). I hope this helps someone else! Jeff --- > data Alpha ip X 1 0.7106967

Re: [R] Non linear regression with complex equation

2012-02-27 Thread Rolf Turner
Your question is (completely) ill-posed. What is your actual model? What you have said makes no sense at all as it stands. (Minimal self-contained example .) cheers, Rolf Turner On 28/02/12 09:25, jeff_hawkes wrote: Hi all, Is it possible to model a function where the unknow

[R] Non linear regression with complex equation

2012-02-27 Thread jeff_hawkes
Hi all, Is it possible to model a function where the unknown parameter appears both in the fitted equation AND in the determination of other parameters? E.g. y = a^2 + b/2 + k where a = 2/k and b = k^2 and the model needs to determine k? I know this is a very simple equation (its just an exa