From J.C.Rougier@durham.ac.uk  Thu Mar 11 13:55:44 1999
From: J.C.Rougier@durham.ac.uk (Jonathan Rougier)
Date: Thu, 11 Mar 1999 13:55:44 +0000 (GMT)
Subject: [R] R and kron
In-Reply-To: <199903111312.OAA07075@sophie.ethz.ch>
Message-ID: <Pine.GSO.3.96.990311135103.12487I-100000@laplace>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] R and kron
Jonathan Rougier