Charles C. Berry wrote:
>
> See
> ?terms
> ?terms.object
>
>
>
I am sorry but i cannot figure out how i can find out which coefficients
belong to which predictors using the model$terms. If i do
attributes(model$terms) i get a nice list which contains the orriginal
factors and som
Hi Jeroen,
>> How could i use the model$terms to extract which coefficients belong to
>> which factor,
>> the way anova() does it?
There may be a simpler ("canned") way to do it, but why don't you debug
anova.lm to see how it does it?
##
methods("anova")
anova.lm
HTH, Mark.
Jeroen Ooms wrot
On Fri, 11 Jul 2008, Jeroen Ooms wrote:
I am trying to make a little web interface for the lm() function. It
calculates both anova F-tests and parameters and returns it in a nice table.
However, I have a problem with matching the Anova predictors with the
regression coefficients: For numeric pr
I am trying to make a little web interface for the lm() function. It
calculates both anova F-tests and parameters and returns it in a nice table.
However, I have a problem with matching the Anova predictors with the
regression coefficients: For numeric predictors there is no problem: the
coefficie