[R] How to examine the parameter values during iteration (nls)

2014-05-09 Thread Jun Shen
Hi everyone, I am using nls() to run a simple sigmoid curve type of regression and would like to see how the parameter values change through iterations. How can I see those values? Or ideally, can I even extract those values? For example, nls(Response~E0+Emax*Conc/(EC50+Conc), data=data,

Re: [R] How to examine the parameter values during iteration (nls)

2014-05-09 Thread Bert Gunter
Read ?nls and note the trace argument. Does nls(...,trace = TRUE) not do what you want? By using ?capture.output you could then capture the trace I would think, but I haven't tried. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 Data is not information.