If I have a two column data frame like:

> dat <- cbind("x"=c(1:100),"y"=c(100:1))

How can I create an array that splits every ten rows of that data frame
into a third dimension of an array so that:

> newarray[,,1]

,,1

x   y
1   100
2   99
3   98
...   ...
10  91


,,2

x    y
11  90
12  89
...   ...


...

Thanks.

	[[alternative HTML version deleted]]

