Re: [R] Coefficients from LM

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Fri 16 Sep 2005 - 17:21:12 EST

Charles Annis, P.E. <Charles.Annis <at> StatisticalEngineering.com> writes:

> Here's an example with a glm; lm() works the same way but has fewer internal
> objects.
>
> mod3 <- glm(tree ~ altitude, family = binomial)
>
> You can use names() to find out what's inside:
>
> > names(mod3)
> [1] "coefficients" "residuals" "fitted.values" "effects"

You get more information about the internals by using str(mod3) instead of names (mod3).

Dieter



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 Wed Sep 21 02:30:54 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:15 EST