[Rd] New package Oarray
Fri, 18 May 2001 09:58:43 +0100 (BST)
I recently uploaded the package Oarray to CRAN. After a suggestion from
Martin M., I should just clarify that this is a generalisation of zmatrix
in the following respects:
1) Can handle arbitrary numbers of extents;
2) Can have arbitrary non-negative offsets (not just zero) that vary
across the extents;
3) Can be switched also to have negative offsets, in which case negative
subscripts *do not* drop components.
Oarray operates quite differently from zmatrix, depending upon the way
that match.call() parses the calls to "[.Oarray" and "[<-.Oarray" (I hope
that this is stable!).
I often use R as a general-purpose computing environment and I have
encountered several situations in which arrays with offsets that are not
zero or one are useful, hence the generalisation of zmatrix. I would be
interested if anyone can suggest any applications in statistics, though!
Jonathan Rougier Science Laboratories
Department of Mathematical Sciences South Road
University of Durham Durham DH1 3LE
tel: +44 (0)191 374 2361, fax: +44 (0)191 374 7388
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: email@example.com