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. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch




On Fri, May 9, 2014 at 6:41 AM, Jun Shen <[email protected]> wrote:
> 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, start=list(....))
>
> I would like to see how Emax and EC50 values change through iterations.
> Thanks.
>
> Jun
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to