Hi
If you just want a specific sequences added to your data and you have
your data ordered as shown why not to use simply
blockrow - rep(1:12, each=64)
blockcol - rep(rep(1:4, each=16), 12)
HTH
Petr
On 23 Oct 2006 at 23:51, Jenny persson wrote:
Date sent: Mon, 23 Oct 2006
Or as factors:
blockrowfac - gl(12, 4 * 16)
blockcolfac - gl(4, 16, 4 * 16 * 12)
On 10/24/06, Petr Pikal [EMAIL PROTECTED] wrote:
Hi
If you just want a specific sequences added to your data and you have
your data ordered as shown why not to use simply
blockrow - rep(1:12, each=64)
Thank you so much, Marc and Phil. Unfortunenately, I misunderstood the problem
myself and wasn't clear how i wanted the variables to be. I will describe the
issue again and hope you can help me out.
Here is part of data called layout
Id Name block col row
1 a1 11
On Sun, 2006-10-22 at 17:38 +0200, Jenny persson wrote:
Hi R-users,
I have a matrice called layout which contains 5 columns:id, name,
row, column and block. The column called block has totally 48 blocks
and looks like
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16