"Prodromos Zanis" <[EMAIL PROTECTED]> writes: > I use the gls function but in contrast to the lm function in which > when I type summary(lm(...))$coef I receive all the coefficients > (estimate, Std. Error, t-value and pvalue), with gls when I type > summary(gls(...))$coef I only receive the estimate of the > reg. coefficient without std. error and t- and p-values.
> Do you have any suggestion how to solve my problem? Look at the structure of the value returned by summary applied to a gls object. library(nlme) example(gls) str(summary(fm1)) You will find that you want to extract summary(fm1)$tTable ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help