[R] How can I extract information from list which class is nls
jwiley.psych at gmail.com
Wed Apr 27 03:24:48 CEST 2011
> I would generally use the coef() extractor function if
> it's available (and it is for nls()). ?nls has an example:
I knew about coef() on model objects, but I did not know it had
methods for their summaries. What wonderful information!
> which is a matrix from which you can get the SEs:
> coef(summary(fm1DNase1))[,"Std. Error"]
> coef(summary(fm1DNase1))[, 2]
> As to your other question about 'adding two parameters', that
> doesn't make sense to me. Can you provide a sensible example?
> In any case you would no doubt have to look at the covariance
> matrix of the parameter estimates (with vcov()).
> Peter Ehlers
More information about the R-help