Message-ID: <loom.20050916T092027-385@post.gmane.org>
Date: 2005-09-16T07:21:12Z
From: Dieter Menne
Subject: Coefficients from LM
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