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
On Fri, 16 Sep 2005, Dieter Menne wrote:
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
Hi everyone,
Can anyone tell me if its possibility to extract the coefficients from the
lm() command?
For instance, imagine that we have the following data set (the number of
observations for each company is actually larger than the one showed...):
Company Y X1 X2
1 y_1
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pablo Gonzalez
Sent: Thursday, September 15, 2005 4:09 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Coefficients from LM
Hi everyone,
Can anyone tell me if its possibility to extract the coefficients from the
lm() command?
For instance, imagine