[R] Doubt about aov and lm function... bug?

Rolf Turner r.turner at auckland.ac.nz
Wed Apr 8 23:28:45 CEST 2009


On 9/04/2009, at 9:17 AM, Jose Claudio Faria wrote:

> Hi Peter and Rolf,
>
> Many thanks for all!
>
> The "bug" was just found: it is related with the package AlgDesign!
> (and I've been loading it from Rprofile.site already for a long  
> long time). :-(

	<snip>

> I wonder it is really a small bug. Do you agree?

It seems to me that there is a conflict between what lm() does and what
the functions in AlgDesign do.  Presumably they are used for completely
different purposes.  So this isn't a bug as such, it is simply a matter
of arranging things so that the right model.matrix() function gets  
called
in the right circumstances.

Sounds like a job for namespaces (about which I was *complaining*  
recently;
:-) ) although I don't understand these well enough to be sure that they
could help here.  Peter will know, I have every confidence!

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}




More information about the R-help mailing list