Displaying 1 result from an estimated 1 matches for "daataset".
Did you mean:
dataset
2006 Mar 10
4
How to get the intercept from lm?
Hi
I am using R 2.2.0 under SuSE 10
I want to use lm() to get the slope and intercept for several daatasets
and store them in a database. So far so good - but how do I extract the
slope and the intercept from the result from lm()?
my code looks like this:
lmNNDens <- lm(log(DensNN$MeanNN) ~ log(DensNN$MeanDensity))
anovaLM <- anova(lmNNDens)
Results$slope[No] <- ???lmNNDens???
Results$inte...