[R] Extract Coeff, Std Error, etc from gnls output

Douglas Bates dmbates at gmail.com
Wed Jun 22 18:38:16 CEST 2005


On 6/22/05, Christian Mora <christian_mora at arauco.cl> wrote:
> Dear list members;
> 
> Is there any trick to extract the coefficients along with std errors,
> t-values and p-values for each beta from a gnls fit model (similar to the
> results obtained using summary(lm)$coeff for linear models)?

The best way to get the coefficients is with the extractor function
coef.  There is no extractor for the t-values and the p-values so you
need to look at the result of str(summary(gnlsfit)) to find the name
of the component.




More information about the R-help mailing list