[R] R and kron

Jonathan Rougier J.C.Rougier@durham.ac.uk
Thu, 11 Mar 1999 13:55:44 +0000 (GMT)


On Thu, 11 Mar 1999, Martin Maechler wrote:

>     John> And I note the new function kronecker - very useful but can it be
>     John> applied to non-numerics as in factors, data frames etc preserving
>     John> the class, levels and names?
> 
> Certainly --- if you enhance it;
> Thanks in advance for the contribution...  ;-)

kronecker() is actually a wrapper for outer(), so unfortunately you will
have to enhance outer() as well!  But I expect an enhanced outer() would
be quite useful.

Cheers, Jonathan.

Jonathan Rougier                       Science Laboratories
Department of Mathematical Sciences    South Road
University of Durham                   Durham DH1 3LE

"[B]egin upon the precept ... that the things we see are to be 
 weighed in the scale with what we know"  (Meredith, 1879, The Egoist)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._