Unfortunately, I can't read your examples. Can you repost without the
formatting characters which are confusing when rendered in plain text?
One thing to keep in mind is that a R array is a regular object -- e.g., if you have a 2
x 3 x 4 array, then if you want to add a row to a slice, you mus
<4adbca02.8020...@temple.edu>
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
>=20
> library(abind) ## array binding
I've looked into using abind()=2C but it seems I might not understand it pr=
operly.
I can build my 2 table arra
library(abind) ## array binding
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible
Hi,
I would like to add rows to arbitrary tables within a 3dimensional array.
I can directly add data to an existing row of a table:
> x <- array(0,c(1,3,2))> x[,,1] <- c(1,2,3)
And I can even add a row to the table and assign to another object.
> y <- rbind(x[,,1], c(4,5,6))
and 'y' is what I wan
4 matches
Mail list logo