[S] Problem with 'apply': summary

Bruce McCullough (BMCCULLO@fcc.gov)
Thu, 12 Mar 1998 12:25:50 -0500

Many thanks for the several quick responses.

J.M Gries pointed out that my desired result
could be obtained by simply redimensing one
of my original attempts:

array( apply( fred, 1, function(x) x%o%x), dim=c(3,3,3))

K. Brand explained why my previous attempts
were 'correct' and how I was thinking incorrectly
about 'apply' -- if anyone wants a copy, e-mail me.


This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news