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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to