[R] Why can't Anove (car package) see the data?
Patrick Connolly
p.connolly at hortresearch.co.nz
Wed Aug 14 05:14:02 CEST 2002
At the end of the 'Details:' section of the help on Anova (car
package), it states:
The standard R `anova' function calculates sequential (type-I)
tests. These rarely test meaningful hypotheses.
So I thought I'd try it. However, I was perplexed to get this
message:
Browse[1]> Anova.glm(leaf.glm1, type ="II")
Error in terms.formula(formula, data = data) :
Object "use.df" not found
The regular anova function can find use.df. What could make it
invisible to Anova? I thought it might be because terms.formula took
an argument x and I already had an object x, but changing its name
didn't help. I spent some time searching the archives but found no
mention of this problem. I read some of the car package help files,
but didn't notice a reference to what is different in the way data is
seen.
The example given in the help file does work, but it uses a data
object which is in the working directory. That's not practicable
within a function. So I'd appreciate other ideas.
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 5.1
year 2002
month 06
day 17
language R
Thanks
--
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify
the sender and delete all material pertaining to this e-mail.
______________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list