[R] generalized cbind()
Jonathan Rougier
J.C.Rougier at durham.ac.uk
Tue Dec 10 11:12:03 CET 2002
Hi Robin,
I wrote myself a function "abind" to do this a while ago. I have not
used it recently but I am attaching the code and man page for you to
have a look at.
Cheers, Jonathan.
Robin Hankin wrote:
> Hello Rexperts
>
> If I have an array "a" with a <- array(1:8,c(2,2,2)) then there are
> three ways of putting "a" together with another version of "a", one
> for each dimension.
> [snip]
--
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
http://www.maths.dur.ac.uk/stats/people/jcr/jcr.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: abind.R
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20021210/b1c3d576/abind.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: abind.Rd
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20021210/b1c3d576/abind-0001.pl
More information about the R-help
mailing list