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

From: Douglas Bates <dmbates_at_gmail.com>
Date: Thu 23 Jun 2005 - 02:38:16 EST

On 6/22/05, Christian Mora <christian_mora@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.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 23 02:45:27 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:57 EST