Re: [R] "nested" getInitial calls; variable scoping problems: Solved??

2008-08-19 Thread Keith Jewell
Hi All, I've found a solution to my problems which I think is optimal, but I've been wrong before (!!) so comments are welcome. To avoid scoping problems in the 'inner' getInitial I modify the formula so that all variable values are specified explitly in the formula, the inner getInitial need

[R] "nested" getInitial calls; variable scoping problems

2008-08-18 Thread Keith Jewell
Hi All, Another nls related problem (for background, I'm migrating a complicated modelling package from S-plus to R). Below I've reduced this to the minimum necessary to demonstrate my problem (I think); the real situation is more complicated. Two similar selfStart functions, ssA and ssB. The