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

2005-06-22 Thread Christian Mora
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)?

Thanks for any hint

cm

__
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


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

2005-06-22 Thread Douglas Bates
On 6/22/05, Christian Mora [EMAIL PROTECTED] 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